Commit Graph

7778 Commits

Author SHA1 Message Date
Émilie Feral
4b437812a5 [ion] N0101 cache: expose cleanDCache and hide
privateCleanInvalidateDisableDCache methods
2019-03-21 13:26:41 +01:00
Émilie Feral
e20e8030c2 [ion] Fix comment on Reset::jump 2019-03-21 10:50:17 +01:00
Léa Saviot
e5c5413afc [ion] Disable cache before a jump 2019-03-20 17:20:12 +01:00
Léa Saviot
ac7c5e8e36 [ion] After a reset, invalidate the data/instruction caches 2019-03-20 16:17:54 +01:00
Léa Saviot
079d947955 [ion] Cache invalidation methods 2019-03-20 16:15:12 +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
31f1bd32e4 [ion] Fix build of device/shared/drivers/external_flash.o 2019-03-19 09:32:30 +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
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
É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
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
Léa Saviot
017b74c271 [ion] LED timers differ between models 2019-03-08 16:06:56 +01:00
Léa Saviot
b32a676258 [ion] PWR registers differ between models 2019-03-08 16:06:46 +01:00
Romain Goyet
d7975cfa7f [scripts] Make sure apps have all their prerequisites 2019-03-06 15:00:59 +01:00
Romain Goyet
c286f4fd62 [scripts] Work around command-line length limit on windows 2019-03-06 15:00:59 +01:00
Romain Goyet
6e3ce5d295 [scripts] Make sure to build i18n.h 2019-03-06 15:00:59 +01:00
Romain Goyet
219fdcbdc6 [scripts] Correctly build the test runner 2019-03-06 15:00:59 +01:00
Romain Goyet
69b1d37e64 [scripts] Fix the Travis build 2019-03-06 15:00:59 +01:00
Romain Goyet
160f202860 [scripts] Prevent mixing implicit and normal rules 2019-03-06 15:00:59 +01:00
Romain Goyet
4aebba88dd [scripts] Define shortcut commands for test.elf and epsilon.elf 2019-03-06 15:00:59 +01:00
Romain Goyet
3cb4580769 [scripts] Get rid of "products" 2019-03-06 15:00:59 +01:00
Romain Goyet
4eb641695b [scripts] Fix the quiz build 2019-03-06 15:00:59 +01:00
Romain Goyet
414f76b70b [scripts] Fix blackbox, emscripten, and simulator 2019-03-06 15:00:59 +01:00
Romain Goyet
0c83253d2e [scripts] Use BUILD_DIR instead of build_dir 2019-03-06 15:00:59 +01:00
Romain Goyet
ef3f5b877c [apps] Delete the long-dead PicView app 2019-03-06 15:00:59 +01:00
Romain Goyet
bd6339f9dc [make] Rename OUTPUT_DIRECTORY to build_dir 2019-03-06 15:00:59 +01:00
Romain Goyet
2af792cf88 [build] Rename the build folder to scripts 2019-03-06 15:00:59 +01:00
Romain Goyet
4f2c7a3763 [build] Update the i18n processing to fit the out-of-tree build 2019-03-06 15:00:59 +01:00
Romain Goyet
4f1d74f44b [build] Use an out-of-tree build 2019-03-06 15:00:59 +01:00
Émilie Feral
a540bfa753 [poincare] Add comment TreeHandle constructor 2019-02-21 11:29:35 +01:00
Émilie Feral
d26c98e9d5 [poincare] Fix comments 2019-02-21 11:29:35 +01:00
Émilie Feral
8ca4094e13 [poincare] Un-inline Symbol and Function UntypedBuilder 2019-02-21 11:29:35 +01:00
Émilie Feral
24c9617a89 [poincare] Templatize TreeHandle Builders 2019-02-21 11:29:35 +01:00