Commit Graph

389 Commits

Author SHA1 Message Date
É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
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
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
Léa Saviot
1ce6f36651 [code] Fixed the wait for user input after drawing using Python.
A SandboxController is now pushed on the StackViewController and sets the
KDIonContext::sharedContext before drawing, sets a white background and handles
user input after the Python computation to dismiss the drawing screen.

Change-Id: I51b0474365a85e845227379a16d090541fa8ded7
2017-12-01 13:19:28 +01:00
Émilie Feral
3f0328f5b5 Add assertions for dangerous bit shift that could trigger undefined
behaviour

Change-Id: I051ed229d407eafcae1ea4b5fc745176a751e036
2017-12-01 11:53:55 +01:00
Romain Goyet
52bdf4a41f Merge branch 'cas_with_app_copy' into python_console 2017-11-21 18:44:38 +01:00
Émilie Feral
5fd8fda4b1 [calculation] Display exact and approximate results
Change-Id: Id5fe5b5db464c45f09bd1a1285def95e738a78c7
2017-11-21 17:37:25 +01:00
Léa Saviot
2aa1cb0256 [emscripten] Fixed Python computation interruption.
A dummy scan() was used, which stopped the computation with
shouldInterrupt().

Change-Id: I661a630bd1a83c6036513fb9a086c58ba542f25b
2017-11-17 16:42:39 +01:00
Romain Goyet
9a41ee8ad9 Add the ability to package the web simulator 2017-11-06 21:54:18 +01:00
Émilie Feral
e3057d5c2b [poincare] Change multiplication sign
Change-Id: If58f62fa181ce7aac441d42d44ea65d68f0d6421
2017-10-25 18:19:01 +02:00
Romain Goyet
e5010b1621 Work around a GCC bug 2017-10-19 17:31:40 +02:00
Damien Nicolet
1bf5386f8a Corrects wrong RCC QSPIEN register definition 2017-10-16 09:21:10 +02:00
Ian Abbott
357d76515b [ion][apps] Remove redundant AlphaLockShift state
Since the 'shift' key can now toggle between the AlphaLock and
ShiftAlphaLock states, there is no way to enter the AlphaLockShift
state, so remove it.
2017-09-26 17:44:25 +02:00
Ian Abbott
68eacca570 [ion] Toggle between AlphaLock and ShiftAlphaLock
Change the behaviour of the 'shift' key in the AlphaLock and
ShiftAlphaLock states to toggle between the two.  This makes it easy to
switch between upper case and lower case letters in ALPHA-lock mode,
although the common case of entering words with isolated captital
letters in alpha-lock mode now involves additional presses of the
'shift' key.

With this change, it is impossible to enter the AlphaLockShift state.
2017-09-26 17:44:25 +02:00