Commit Graph

7746 Commits

Author SHA1 Message Date
Léa Saviot
a656b80089 [ion] Calibrate msleep / usleep for N0101 2019-03-22 17:58:42 +01:00
Léa Saviot
c4c2643b53 [bench] Poincare::init at in run 2019-03-22 17:58:42 +01:00
Léa Saviot
8f1f3d5af0 [external_flash] WriteMemory source argument is const 2019-03-22 17:58:42 +01:00
Léa Saviot
cb1c4debc2 [ion/drivers/display] Add details about the FSMC 2019-03-22 17:58:42 +01:00
Léa Saviot
91dafd73ff [ion] Ion::Device::reset::jump() jumps to the initialisation vector 2019-03-22 17:58:42 +01:00
Léa Saviot
2772fe5f28 [bench] RESET command 2019-03-22 17:58:42 +01:00
Léa Saviot
4d5729dde3 [bench] bench.bin target builds for RAM 2019-03-22 17:58:42 +01:00
Ruben Dashyan
9b50942996 [ion/device/drivers/external_flash] Fix dummy cycles for Fast Read in QPI mode 2019-03-22 16:20:46 +01:00
Ruben Dashyan
d34c5d3df9 [ion/device/drivers/external_flash] Clarify ChipSelectHighTime 2019-03-22 16:20:46 +01:00
Léa Saviot
5babf98007 [scripts] Default device build is for n0101 2019-03-22 15:45:31 +01:00
Léa Saviot
1676dc35bf [ion/n0101] Update frequency ration for 8MHz quartz 2019-03-22 15:44:30 +01:00
Émilie Feral
e0be38681b [scripts] Fix elf2dfu.py to sort internal/external sections on their address rather than
on their names
2019-03-21 15:40:15 +01:00
Émilie Feral
478d49b416 [ion] DFU leave instruction triggers a core reset on N0101 and a soft
reset on N0100 (to avoid booting on ST bootloader as the device is
plugged)
2019-03-21 14:23:51 +01:00
Émilie Feral
c298c17af8 [ion] Remove outdated f730 folder 2019-03-21 14:06:54 +01:00
Émilie Feral
47327c39c9 [ion] DFU reallocation: clean DCache after copying the DFU bootloader to the RAM 2019-03-21 13:58:27 +01:00
Émilie Feral
d68c568e8d [ion] Add TODO on Reset::jump 2019-03-21 13:57:51 +01:00
Émilie Feral
02317a7659 [ion] start: discard useless cache invalidations when booting 2019-03-21 13:56:06 +01:00
Émilie Feral
d8ce253ca2 [ion] N0101 cache: add missing dsb, isb 2019-03-21 13:27:00 +01:00
É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