Commit Graph

11243 Commits

Author SHA1 Message Date
Romain Goyet
bb1b9cce2b [ion/sdl/ios] Improve the build scripts 2019-03-20 15:45:24 +01:00
Romain Goyet
aa1c614aeb [ion/sdl] Retrieve the system's language 2019-03-20 15:44:42 +01:00
Émilie Feral
da0c95a801 [scripts] Change elf2dfu to build a .dfu with 2 elements: internal &
external
2019-03-19 15:59:14 +01:00
Émilie Feral
86f58a3cf9 [ion] Add configuration for Flash of N0101 and N0100 2019-03-19 12:38:07 +01:00
Émilie Feral
2ba1a053a5 [ion] Flash: between data write operations or accesses to FLASH_CR, issue a DSB instruction to guarantee the completion of the operation 2019-03-19 11:56:11 +01:00
Émilie Feral
1ac6167420 [ion] Clean drivers/cache: implement dummy dsb for N0100 2019-03-19 11:55:03 +01:00
Émilie Feral
521eeaa83c [ion] Flash: wait for the flash BUSY flag to clear between two flash operations
(Otherwise, flashing the internal flash of N0101 fails)
2019-03-19 11:52:10 +01:00
Émilie Feral
252049a838 [ion] Flash: clear error flags when closing the Flash 2019-03-19 11:21:31 +01:00
Émilie Feral
506068a725 [scripts] Fix flasher.elf build 2019-03-19 10:40:53 +01:00
Romain Goyet
9ef96e434b [ion] Avoid backticks to retrieve the PATCH_LEVEL 2019-03-19 09:38:17 +01:00
Émilie Feral
31f1bd32e4 [ion] Fix build of device/shared/drivers/external_flash.o 2019-03-19 09:32:30 +01:00
Romain Goyet
8ff8599958 [ion/sdl/android] Error-out if NDK_ABI has not been defined 2019-03-18 22:59:07 +01:00
Romain Goyet
cb22879965 [ion/sdl/ios] Clean up the build scripts 2019-03-18 22:58:50 +01:00
Romain Goyet
b08246f960 [ion/sdl/ios] Build with customizable min_ios_version 2019-03-18 18:27:13 +01:00
Romain Goyet
ed69789eac [ion/sdl/ios] Use assets for the icon 2019-03-18 17:16:29 +01:00
Romain Goyet
0bc0cdcbd6 [ion/sdl/ios] Improve the iOS build 2019-03-18 12:11:22 +01:00
Romain Goyet
950c90c1b9 [scripts] Add a rule_label helper 2019-03-18 12:10:20 +01:00
Émilie Feral
1aef86cedb [ion] Timing: decrease AHB clock frequency in msleep to save power
y	modified:   scripts/device/openocd.n0100.cfg
2019-03-18 11:24:58 +01:00
Émilie Feral
5ec4fb5486 [ion] ExternalFlash: implement ExternalFlash::shutdown 2019-03-15 18:00:11 +01:00
Émilie Feral
1e536c187e [ion] External flash: avoid initing QUADSPI peripheral if the model does
not have any external flash
2019-03-15 18:00:11 +01:00
Émilie Feral
25453f32f7 Revert "[ion] Dummy implementation of n0100 external flash to avoid initing the"
This reverts commit 88737f1e29.
2019-03-15 17:59:12 +01:00
Léa Saviot
3ac9749e75 [ion] WriteMemory arguments order same as memcpy 2019-03-15 16:46:50 +01:00
Émilie Feral
88737f1e29 [ion] Dummy implementation of n0100 external flash to avoid initing the
QUADSPI peripheral when unused
2019-03-15 10:23:00 +01:00
Émilie Feral
ff6d8139f3 Merge branch 'master' of github.com:numworks/epsilon into f7 2019-03-14 15:10:40 +01:00
Romain Goyet
74ccd4ebf6 [ion/sdl] Quit on back button 2019-03-13 14:15:38 +01:00
Romain Goyet
caef2e8c6f Add GitHub issue templates 2019-03-13 10:19:02 +01:00
Émilie Feral
2658015cda [poincare] Fix mis-implementation of (a^b)^c -> a^(b*c) which is applied
if:
- a > 0
- in Real: when b and c are integers
- in other modes: when c is integer
2019-03-13 09:37:59 +01:00
Romain Goyet
934c219739 [ion/sdl/android] Pass the current locale 2019-03-12 17:45:41 +01:00
Romain Goyet
edaf44c6fa [ion/sdl/android] Don't forget to call onResume 2019-03-12 17:45:21 +01:00
Romain Goyet
5327a93b48 [ion/src/sdl] Build for armv7, armv8, x86 and x86_64 2019-03-12 17:15:49 +01:00
Romain Goyet
118d25b0fa [ion/sdl/android] Build the cpufeatures android module 2019-03-12 17:15:17 +01:00
Romain Goyet
1f7fb11526 [ion/sdl/android] Add code signing to the gradle file 2019-03-12 17:15:01 +01:00
Émilie Feral
e40e626eec [graph] Values tab: select the right cell of the values table when
displaying/undisplaying the derivative column
2019-03-12 16:21:30 +01:00
Romain Goyet
82909b33e6 [ion/sdl/android] Add analytics 2019-03-12 16:14:02 +01:00
Romain Goyet
9c23034f4c [ion/sdl/android] Discard useless proguard rules 2019-03-12 14:58:01 +01:00
Romain Goyet
06fff3b53f [ion/sdl/android] Generate versionCode and versionName automatically 2019-03-12 14:57:38 +01:00
Romain Goyet
ef342aa3a1 [ion/sdl/android] Clean the gradle invocation 2019-03-12 14:57:14 +01:00
Romain Goyet
3e8dc6a552 [ion/sdl/android] Fix the style 2019-03-12 14:28:05 +01:00
Romain Goyet
85c02aa919 [ion/sdl] Clean the Android build system 2019-03-12 14:18:51 +01:00
Léa Saviot
2a34f955ca [python/turtle] Fix some turtle jumps
There was a drawing glitch for instance when doing goto(100,100).
It was due to the tutle mileage being overflowed.
2019-03-12 09:51:40 +01:00
Léa Saviot
ddb22ba1a2 [python/turtle] Fix drawing of diagonal lines 2019-03-12 09:51:40 +01:00
Léa Saviot
147c1b4592 [python/turtle] Make the turtle faster on emscripten
It was slower than on the calculator
2019-03-12 09:51:40 +01:00
Léa Saviot
43bd5e7044 [scripts] Fix PLATFORM=device build 2019-03-12 09:45:09 +01:00
Léa Saviot
dcd83923ef [scripts] Fix the emscripten simulator.zip build 2019-03-12 09:45:09 +01:00
Émilie Feral
9eb672bb5f [apps/shared] Fix
ExpressionFieldDelegateApp::layoutFieldDidReceiveEvent

Layouts have two potential serializations. For example,
HorizontalLayout(CharLayout(2), CharLayout(a)) can be serialized as:
"2a" and "2*a". In layoutFieldDidReceiveEvent, we want to check that the
longest serialisation is bounded by maxBufferSize. (We could have used
Layout::serializeParsedExpression but we don't to avoid parsing the
expression twice)
2019-03-11 13:20:08 +01:00
Romain Goyet
a71319c9d5 [ion/sdl/android] Create a directory if needed 2019-03-08 18:29:01 +01:00
Romain Goyet
4eb37d4d7f [ion/sdl] Small cleanup 2019-03-08 18:18:01 +01:00
Romain Goyet
880851f75b [ion/sdl] Import SDL version 12616:8a160ecca90f 2019-03-08 18:17:45 +01:00
Romain Goyet
937c6c5775 [ion/sdl] Add a background image asset 2019-03-08 18:11:16 +01:00
Romain Goyet
535406d9cf [ion/sdl] Add SDL build scripts 2019-03-08 18:10:18 +01:00