Commit Graph

113 Commits

Author SHA1 Message Date
Léa Saviot
de6646a0ae [build/emscripten] Add turtle symbols to the whitelist 2018-12-18 12:05:51 +01:00
Léa Saviot
ed19d19070 Merge branch 'master' into python_turtle 2018-12-17 15:49:46 +01:00
Léa Saviot
49e8a501e7 [python] Fix micropython_port_interruptible_msleep
It now gets interrupted. Turtle drawing can now be interrupted too.
2018-12-05 17:41:16 +01:00
Léa Saviot
d745b719a9 [build/padding] Pad with FF FF FF FF in hex
Using "echo" added a \n at the end of the input
2018-11-27 12:01:20 +01:00
Léa Saviot
ca2fdf8ffd [build/makefiles] Commands to create a scenario logger and creator 2018-11-26 14:40:40 +01:00
Léa Saviot
f30df04dba build: Version 1.9.0 2018-11-23 14:46:46 +01:00
Léa Saviot
a95ff9797f [Makefile] Add padding to binary files for the device 2018-11-23 12:04:10 +01:00
Émilie Feral
7e52483eec [build] emscripten: add 'Pointer_stringify' as EXTRA_EXPORTED_RUNTIME_METHODS 2018-11-23 12:03:35 +01:00
Léa Saviot
6de650064e [build] Disable WebAssembly on emscripten 2018-11-23 11:57:44 +01:00
Romain Goyet
253c183963 [python] Clean the time module
- Export micropython_port_should_interrupt and
micropython_port_interruptible_msleep in Emscripten
- Make micropython_port_interruptible_msleep available in a helper
2018-11-16 09:40:53 +01:00
Ecco
74d4f397ac Merge pull request #626 from zardam/utime_module
utime module
2018-11-15 17:04:08 +01:00
Léa Saviot
ae476f922c [ion] Fix and comment the UI comparison tool 2018-11-15 16:23:03 +01:00
Romain Goyet
8fa1558fc4 [python] Small cleanup 2018-11-15 15:12:17 +01:00
Romain Goyet
e73033b19c Merge branch 'master' into utime_module 2018-11-15 14:37:11 +01:00
Romain Goyet
5dfefb477a [python] Rename micropython_port_should_interrupt to micropython_port_vm_hook_loop 2018-11-13 10:06:23 +01:00
Damien Nicolet
24630011b1 [code] keep only CPython equivalent functions in utime module 2018-11-10 00:00:03 +01:00
Damien Nicolet
9b818bd963 [ion] fix sleep functions in emscripten build 2018-11-09 01:36:38 +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
Romain Goyet
b26f0abe81 [emscripten] Update a symbol name in the whitelist 2018-11-08 17:11:17 +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
Émilie Feral
db7e79510d [build] Default build for device include the update boot prompt 2018-10-19 09:39:48 +02:00
Léa Saviot
fb2bde7938 [build] LTO flag can be set by user, else it is opposite of DEBUG flag
If no LTO, at least prune symbols.
2018-10-17 11:16:06 +02:00
Émilie Feral
5cd0f8796a Makefile: Version 1.8.0 2018-10-16 11:12:50 +02:00
Émilie Feral
3f711da8e4 [Makefile] Create a build option: EPSILON_BOOT_PROMPT that can be
'update' or 'beta' to display a prompt informing about new update or
beta version
2018-10-16 11:09:50 +02:00
Romain Goyet
8264e3f1f8 [build] Enable LTO for the device 2018-10-12 14:39:26 +02:00
Émilie Feral
95c1e2a41f [build] Gdb script: hardware watch point on the end of the stack 2018-09-18 16:10:17 +02:00
Émilie Feral
c95c3145bc Merge remote-tracking branch 'github/master' into Tree 2018-09-13 17:03:31 +02:00
Émilie Feral
970ac6dbe7 Makefile: build all applications by default 2018-09-07 12:02:25 +02:00
Émilie Feral
b784e7933a Makefile: Version 1.7.0 2018-09-05 14:55:20 +02:00
Léa Saviot
ddbabd0e3c [poincare] Do not use assert with PLATFORM=blackbox and DEBUG=0 2018-08-30 10:24:22 +02:00
Romain Goyet
40f499b594 Switch to libgcc entierly when using gcc as a toolchain 2018-08-24 17:44:35 +02:00
Damien Nicolet
a4abd5e34c Add option USE_LIBGCC to link agains libgcc instead of liba softfloat implementation. 2018-08-24 17:44:35 +02:00
Émilie Feral
797459794b Makefile: build only Calculation application by default 2018-08-10 15:54:35 +02:00
Léa Saviot
85ca01a7dc [build] Change debug flag from Og to O0
This flag caused lldb problems
2018-07-05 11:08:36 +02:00
Romain Goyet
0634e9ea7d [emscripten] Expose IonSoftwareVersion and IonPatchLevel 2018-06-26 14:13:31 +02:00
Léa Saviot
b8fbc35793 [emscripten] Fix float rouding errors when computing grid axis labels
Emscripten converts C++ floats to doubles, which produces rounding
errors. In the Graph application, when displaying y=sin(x), the ordinate
'1' displayed "10" instead, because the exponent of 1000f was wrongly
computed.
To prevent this, we add the -s PRECISE_F32=1 flag, which uses 32-bits
floating point values for floats.
See https://kripken.github.io/emscripten-site/docs/getting_started/FAQ.html#why-do-i-get-odd-rounding-errors-when-using-float-variables
2018-06-18 16:33:44 +02:00
Ecco
e304da5ee1 [emscripten] Removing trailing comma hack more obvious 2018-06-13 10:02:47 +02:00
Ecco
3d9748d172 [emscripten] Remove empty line 2018-06-13 10:02:47 +02:00
Claire Savinas
208f340993 Fix build using emsdk version sdk-1.37.40-64bit 2018-06-13 10:02:47 +02:00
Émilie Feral
3681a85da7 Makefile: Version 1.6.0 2018-06-12 17:27:17 +02:00
Émilie Feral
197027c961 [home] Vertical scroll, reorder apps 2018-06-11 10:37:38 +02:00
Émilie Feral
5d2079cd9e [solver] First version of Solver app 2018-06-07 13:46:17 +02:00
Émilie Feral
f2d096be63 [emscripten] Add WHITELISTED symbols to call 'input()' outside a
function in Python
2018-05-22 17:48:48 +02:00
Romain Goyet
8fc32900c2 [emscripten] Sort ASYNC symbols 2018-05-22 15:59:20 +02:00
Romain Goyet
bb10e13aab [emscripten] Allow "input()" to be called outside of a function 2018-05-22 15:59:20 +02:00
Léa Saviot
7fec844759 Makefile: Version 1.5.0
Change-Id: I1f887fc12dc74586bfe30f3ab015c412166c1f81
2018-05-17 17:56:42 +02:00
Romain Goyet
bd36fd0fe4 [ion/blackbox] Fix compare 2018-05-15 23:41:24 +02:00
Romain Goyet
7610d7b65d Add a routine to debug ARM exceptions in GDB 2018-05-15 11:33:03 +02:00
Romain Goyet
1496ec3a72 [blackbox] add a make epsilon_fuzz target 2018-05-11 16:43:04 +02:00
Romain Goyet
a92f44b666 [blackbox] Add the option to run all the integration tests 2018-05-11 16:43:04 +02:00