Commit Graph

900 Commits

Author SHA1 Message Date
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
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
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
3cb4580769 [scripts] Get rid of "products" 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
bd6339f9dc [make] Rename OUTPUT_DIRECTORY to build_dir 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
Ruben Dashyan
538d5cce64 [ion/blackbox/compare] Fix comment 2019-02-18 16:49:58 +01:00
Romain Goyet
a6b681acd0 [ion/device/regs] Use macros to configure the registers 2019-02-13 15:57:23 +01:00
Romain Goyet
ec9cc58671 Merge branch 'f7' of ssh://git.numworks.com/Epsilon into f7 2019-02-13 15:41:41 +01:00
Romain Goyet
1d2468de37 [ion/device/n0101] Use a linker script for external flash 2019-02-13 15:39:42 +01:00
Romain Goyet
ec3a60063c [ion/device/n0101] Update fccid 2019-02-13 15:35:45 +01:00
Romain Goyet
990ff9fcbf [ion/device/display] Add inversion commands 2019-02-13 15:35:22 +01:00
Romain Goyet
ce560b3e40 [ion/device/keyboard] Use actual Gpio pins 2019-02-13 15:34:48 +01:00
Romain Goyet
51161b63a9 [ion] Move regs in a namespace 2019-02-13 15:08:10 +01:00
Léa Saviot
92e82aab95 [ion] Fix build on n0100 2019-02-12 15:12:44 +01:00
Léa Saviot
37cc0c862b [ion] Proper namespacing 2019-02-12 15:02:35 +01:00
Léa Saviot
425042d957 [ion/console] Tune the value of the USART baud rate 2019-02-12 15:02:35 +01:00
Léa Saviot
4bd4c692c7 [ion] Fix USART registers for n0101 2019-02-12 15:02:35 +01:00
Léa Saviot
6550d14050 [ion] Init USART clock in initClocks 2019-02-12 15:02:35 +01:00
Léa Saviot
d601451ceb [ion/bench] Fix compiling 2019-02-12 14:57:47 +01:00
Romain Goyet
8f48f7ed14 [ion/device] Fix ExternalFlash GPIO config 2019-02-12 14:06:36 +01:00
Romain Goyet
476dd11309 [ion/device] Fix a typo in a register definition 2019-02-12 10:48:57 +01:00
Romain Goyet
4eeffbd98c [ion/device] Share a RAM linker script 2019-02-12 10:22:22 +01:00
Romain Goyet
4c5636e738 [ion/device] Fix a small typo 2019-02-12 10:22:22 +01:00
Romain Goyet
403c81a02c [ion/device] Use a configurable UniqueDeviceIDAddress 2019-02-12 10:22:22 +01:00
Romain Goyet
91da98cd92 Revert "[ion] Fix Serial Number adresses on different models"
This reverts commit c7334c1551.
2019-02-12 10:22:02 +01:00
Léa Saviot
c7334c1551 [ion] Fix Serial Number adresses on different models 2019-02-11 13:49:51 +01:00
Romain Goyet
4dbcf1619c [ion/flasher] Fix includes 2019-02-08 16:56:29 +01:00
Romain Goyet
a95b7df091 [ion] Update the flasher's target 2019-02-08 16:55:02 +01:00
Romain Goyet
f859573db7 [ion/device] Configure the display from HCLK frequency 2019-02-05 17:30:49 +01:00
Romain Goyet
6dcdbede56 [ion/device] Get N0101 working 2019-02-05 17:07:42 +01:00
Romain Goyet
b699777491 Merge branch 'f7' of ssh://git.numworks.com/Epsilon into f7 2019-02-05 12:21:23 +01:00
Romain Goyet
7c491f4400 Merge branch 'ExternalFlash_f7' of ssh://git.numworks.com/Epsilon into f7 2019-02-05 12:19:51 +01:00
Romain Goyet
7640805093 [ion] Use the AFGPIOPin class 2019-02-05 12:18:01 +01:00