Commit Graph

900 Commits

Author SHA1 Message Date
Romain Goyet
c89055d4ad Preliminary work on the OTG registers
Change-Id: I39e9c79538d17ea76d5484083d87a52b9bdc34e0
2018-04-06 14:31:44 +02:00
Romain Goyet
e8c61324a6 Configure the USB GPIO's alternate functions
Change-Id: Iee2c685645778accad88cd2008c4faac0f119224
2018-04-06 14:31:44 +02:00
Romain Goyet
d4d4cd359b Use the high-speed external oscillator
This is required to feed the USB controller an accurate 48 MHz clock.

Change-Id: If3b4490c931c18e1b917b3569ece1adec870477a
2018-04-06 14:31:44 +02:00
Émilie Feral
4312df1bf1 [ion] Enable to call updateModifiersFromEvent on Special events
(Termination event on emscripten platform for instance)
2018-04-05 15:13:33 +02:00
Romain Goyet
5c86a07481 [ion] Add the ability to perform a jump-reset 2018-04-04 10:38:52 +02:00
Émilie Feral
f1ddf1dbf4 Valgrind: uninitialized value, memory leak 2018-03-28 10:02:09 +02:00
Émilie Feral
ae086adfcf Clean 2018-03-22 14:01:38 +01:00
Émilie Feral
75292ed749 [ion] Storage: change tags around storage 2018-03-22 14:01:38 +01:00
Émilie Feral
3bc16637a0 [ion] Storage: add comment on Record 2018-03-22 14:01:38 +01:00
Émilie Feral
845fc7c979 [ion] Typo: NoEnough -> NotEnough 2018-03-22 14:01:38 +01:00
Émilie Feral
36e6851c21 [ion] Storage: change rule on record name compliance 2018-03-22 14:01:38 +01:00
Émilie Feral
b0ede47d55 [ion] Change Storage design (former kallax) 2018-03-22 14:01:38 +01:00
Émilie Feral
3c0adfe918 [ion] Move KallaxInfo to SoftwareVersion renamed in PlatformInfo 2018-03-22 14:01:38 +01:00
Émilie Feral
f9656fd94f [ion] Namespace Record and Kallax 2018-03-22 14:01:38 +01:00
Émilie Feral
aa984bca74 [escher][ion] Move Record and Kallax in Ion/ 2018-03-22 14:01:38 +01:00
Émilie Feral
b9a852a9d1 [escher] Change name: File --> Record, FileSystem --> Kallax 2018-03-22 14:01:38 +01:00
Émilie Feral
338ee4e0b0 [escher] Indicate the address of the file system in the header section
of the flash
2018-03-22 14:01:38 +01:00
Émilie Feral
c5e525ddb7 Enable to give options at run-time 2018-03-22 11:58:56 +01:00
Émilie Feral
af877c19bb [build] Add a flag MODULARIZE when building with
emscripten toolchain
2018-03-22 11:58:56 +01:00
Émilie Feral
37ff8dc0a3 [ion] Give the options to ion_app that becomes ion_main 2018-03-22 11:58:56 +01:00
Émilie Feral
aa40bd69ea [ion] Clean cm4 registers 2018-03-21 16:14:43 +01:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Romain Goyet
c0a9ec1c91 [emscripten] Events can be enqueued 2018-03-21 15:54:17 +01:00
Romain Goyet
09976d6a42 [emscripten] Be a lot nicer on the CPU 2018-03-21 15:54:17 +01:00
Damien Nicolet
a2c5e0b7f7 Full interrupt vector table definition, more registers and correct memory remap & vector table register after bootloader exit 2018-03-13 11:40:04 +01:00
Jean-Baptiste Boric
123dc1b267 Enable LED charging
Fixes #34
2018-02-04 20:08:56 +01:00
Jean-Baptiste Boric
2d088473a5 Reimplement LED charging
Fixes #196
2018-02-04 20:08:32 +01:00
Jean-Baptiste Boric
b774ddf7e7 [ion] Use TIM6 to keep track of time during Ion::msleep 2018-02-02 18:57:08 +01:00
Jean-Baptiste Boric
8e2ed09875 Touch up register definitions 2018-02-02 18:57:08 +01:00
Adrien Bertrand
76dbea981d [emscripten] Fix save screenshot feature 2018-02-02 17:48:42 +01:00
Émilie Feral
4f3290514f [ion] Simulator/Emscripten/Blackbox: correct random implementation 2018-02-02 16:09:37 +01:00
Romain Goyet
5ef24d304d Move debug scripts in the build folder 2018-02-02 14:30:35 +01:00
Romain Goyet
7a8f439603 Clean the memory-map Make script 2018-02-02 14:30:35 +01:00
Romain Goyet
489b26e813 Re-organize and re-prefix the Makefile variables 2018-02-02 14:30:35 +01:00
Romain Goyet
67f082f4e8 [emscripten] Use emterpreter
This allows us to control the runloop
2018-02-01 14:10:26 +01:00
Émilie Feral
7aca44812e [ion] Correct random() implementation in simulator, blackbox and
emscripten
2018-01-23 10:24:52 +01:00
Émilie Feral
a8dc17a6cf [ion] Add TODO on implementations of usleep msleep 2018-01-22 15:32:59 +01:00
Émilie Feral
7993f7e906 [ion] Re-calibrate the delay methods (msleep and usleep) following the
increase of performance due to the instruction and data cache
2018-01-22 15:32:59 +01:00
Jacob Young
adc41fc240 I hate to do this, but a better solution will have to wait for a different PR. 2018-01-16 09:59:49 +01:00
Jacob Young
115f75c06a Fix #8 with a custom getEvent for the simulator. 2018-01-16 09:59:49 +01:00
Léa Saviot
5ec88dff8e [poincare] EmptyExpression now exist and can be parsed.
Change-Id: I226026fc866c556d9bf4f57c3622f71136dc841c
2018-01-15 11:58:06 +01:00
Jacob Young
e5868aaeab Add extra keyboard shortcuts to the emscripten platform. 2017-12-12 14:05:58 +01:00
Jacob Young
b5bf6002f9 Remove unnecessary namespace qualifiers. 2017-12-12 14:05:58 +01:00
Jacob Young
94e18f90e0 Add missing static. 2017-12-12 14:05:58 +01:00
Romain Goyet
1e538600e3 Add the ability to take a screenshot in the packaged web simulator 2017-12-12 09:43:06 +01:00
Émilie Feral
975f54c7b2 [ion] Change events name: Origin->ShiftLeft, End->ShiftRight 2017-12-07 17:42:39 +01:00
Émilie Feral
d8963e33e3 [ion] Enable flash instructions fetching 2017-12-07 09:26:23 +01:00
Damien Nicolet
845337a042 Enable instruction and data cache 2017-12-06 18:39:09 +01:00
ydupas
8741e4d116 Fix: invalid characters on windows simulator #240 2017-12-06 13:36:54 +01:00
Émilie Feral
db35fc1d72 Merge branch 'cas_with_python' into python_console
Change-Id: I06e3e07b9fd8d52818d90110ed7517777b35b9f1
2017-12-01 17:29:55 +01:00