Commit Graph

629 Commits

Author SHA1 Message Date
Damien Nicolet
4640b67bc8 [ion] add missing ussleep function 2018-11-09 02:14:20 +01:00
Damien Nicolet
9b818bd963 [ion] fix sleep functions in emscripten build 2018-11-09 01:36:38 +01:00
Damien Nicolet
f93bf97182 [ion] Sharing millis & micros for blackbox and simulator 2018-11-09 01:30:22 +01:00
Damien Nicolet
bc8d9746c8 [ion] Documenting micros() implementation 2018-11-09 01:30:22 +01:00
Damien Nicolet
4c520cab97 [ion] Use shutdownSysTick & initSysTick when entring/exiting DFU 2018-11-09 01:30:22 +01:00
Damien Nicolet
cb0822d312 [ion] initSysTick() & shutdownSysTick() methods 2018-11-09 01:30:22 +01:00
Damien Nicolet
e397f05894 [ion] Documenting systick counter reload value 2018-11-09 01:30:22 +01:00
Damien Nicolet
92e59f720f [ion] Renaming STCSR, STCVR and STRVR to SYST_CSR, SYST_CVR and SYST_RVR 2018-11-09 01:30:22 +01:00
Damien Nicolet
c0c0905b84 [ion] millis() and micros() returns uint32_t and are defined in their own header 2018-11-09 01:30:22 +01:00
Damien Nicolet
940270e78a [ion] add millis() and micros() using systick on device 2018-11-09 01:30:22 +01:00
Romain Goyet
9825c73238 [ion/emscripten] Actual implementation of Ion::Keyboard::scan
This allows interrupting Python scripts on the Emscripten port
2018-11-08 17:11:17 +01:00
Émilie Feral
52d32c9294 [ion] crc32: should assume little endian 2018-10-29 09:49:49 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Romain Goyet
a9d3a53d87 [ion/device] Fix WriteMemory to handle random, unaligned writes 2018-10-19 10:59:17 +02:00
Romain Goyet
c934531ced [ion/device] Fix Flash::SectorAtAddress to handle random values 2018-10-19 10:59:17 +02:00
Émilie Feral
a3763b9a3a [ion] Change crc32 implementation for simulator, blackbox and emscripten
to avoid alignment issue on emscripten platform
2018-10-19 09:45:07 +02:00
Romain Goyet
23b60ec345 [ion/device] Reference the USB PollAndReset function with a section 2018-10-12 14:39:26 +02:00
Romain Goyet
308ab85173 [ion/device] Make sure start()'s prologue doesn't use VFP registers 2018-10-12 14:39:26 +02:00
Romain Goyet
14d84af28e [ion/device] Mark the ISR vector as used
This prevents the linker from ever discarding that symbol
2018-10-12 14:39:26 +02:00
Romain Goyet
f1198d3c76 [ion] Add Ion::stackSafe
This allows asserting the stack is within bounds
2018-10-12 09:36:44 +02:00
Romain Goyet
f4f567814e [escher] Compress images 2018-10-12 09:36:44 +02:00
Émilie Feral
9a1ecec322 [ion] Storage: fix crc32 2018-09-26 16:53:55 +02:00
Émilie Feral
eebb405cd5 [kandinsky] Add the degree symbol to Charset 2018-09-25 15:13:31 +02:00
Émilie Feral
0701381897 [ion] Clean warning due to unused variable 2018-09-21 18:02:31 +02:00
Émilie Feral
eadc493f48 [ion] Storage: fix regex describing compliant names 2018-09-21 17:13:12 +02:00
Émilie Feral
0bcf3ec65c [ion] Storage: increase size and indicates it in the header 2018-09-21 17:04:42 +02:00
Émilie Feral
52b81c0f98 [ion] Add code to active MPU and forbid memory access to the last 128
bytes of the stack
2018-09-18 16:10:17 +02:00
Émilie Feral
fe1eed8079 [ions] Add MPU registers 2018-09-18 16:10:17 +02:00
Émilie Feral
04e688cf16 [ion] Register: fix potential bug in Register 2018-09-18 16:10:17 +02:00
Romain Goyet
7190b41a2a [ion/blackbox] Use setrlimit to crash if stack usage is too high 2018-09-18 15:45:09 +02:00
Léa Saviot
1c2079dcf5 [bench] Fix bench command to print Integer 2018-09-13 17:36:52 +02:00
Émilie Feral
c95c3145bc Merge remote-tracking branch 'github/master' into Tree 2018-09-13 17:03:31 +02:00
Émilie Feral
08077cb141 [ion] Storage: make Storage::nameCompliant less restrictive (accepts
.*\.[a-z]+). But Script::nameCompliant is stricted: [a-z_0-9.]*
2018-09-13 11:33:15 +02:00
Romain Goyet
844751181d Revert "[rt0] Enable SUPPORT_CPP_GLOBAL_CONSTRUCTORS"
This reverts commit 4eb1df81f6.
2018-09-12 14:11:20 +02:00
Émilie Feral
79740e72b0 [code] Avoid dynamic allocation and useless string copy by keeping the
importation status flag in the areaBuffer
2018-09-11 17:03:04 +02:00
Émilie Feral
db3cd16128 [ion] Storage: get rid of dynamic allocation 2018-09-11 17:03:04 +02:00
Léa Saviot
4eb1df81f6 [rt0] Enable SUPPORT_CPP_GLOBAL_CONSTRUCTORS 2018-08-30 10:17:46 +02:00
Émilie Feral
a1bcbe28e6 [quiz] Turn all assert in quiz_assert 2018-08-28 10:40:52 +02:00
Émilie Feral
3177b26f30 [ion] Clean LED API 2018-08-27 09:53:47 +02:00
Romain Goyet
40f499b594 Switch to libgcc entierly when using gcc as a toolchain 2018-08-24 17:44:35 +02:00
Émilie Feral
47ce55b74d [ion] Fix namespace in dummy LED implementation 2018-08-24 10:05:05 +02:00
Émilie Feral
992575084e [ion] Add comment on LED 2018-08-23 18:10:02 +02:00
Émilie Feral
e303570e16 [ion] Fix a register size wrongly defined 2018-08-23 18:02:32 +02:00
Émilie Feral
4613dd9d8f [ion] Change LED API 2018-08-23 17:40:47 +02:00
Émilie Feral
5eb18c601c [ion] Add registers in RCC 2018-08-23 16:05:08 +02:00
Émilie Feral
6add685ce0 [ion] Revert implementation of msleep using internal clock 2018-08-23 16:02:21 +02:00
Émilie Feral
b8ef271cea [ion] Clean useless regs 2018-08-23 15:01:47 +02:00
Émilie Feral
7d358a2646 Merge branch 'rtc_part1' of https://github.com/boricj/epsilon into exam_mode_boricj 2018-08-22 17:20:04 +02:00
Romain Goyet
5f1da3b824 [ion/device/bench] Count display memory errors 2018-08-21 09:34:13 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00