Commit Graph

71 Commits

Author SHA1 Message Date
É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
Romain Goyet
a38369aa98 [ion] Revert blackbox's object list 2018-05-09 18:11:45 +02:00
Romain Goyet
0f02483a36 [ion] Build libepsilon as an object file 2018-05-09 18:11:45 +02:00
Romain Goyet
aad95380f5 [ion] Multithreaded framebuffer comparison 2018-05-09 18:11:45 +02:00
Romain Goyet
806b87ef36 [ion] Add the ability to build blackbox as a shared library 2018-05-09 18:11:45 +02:00
Émilie Feral
8a6c06367e [home] Fix number of rows instead of fixing number of columns 2018-05-08 14:44:54 +02:00
Léa Saviot
4d259442b5 [build/ion] Remove code used for debug.
Change-Id: I41802f79e7103204991edf38dff94b1c0a3a23ea
2018-05-08 14:13:34 +02:00
Jean-Baptiste Boric
92b9fc53f3 Use saner default debug flags 2018-05-07 21:05:30 +02:00
Émilie Feral
c934eab947 [emscripten] Add white-listed symbols
When input() is called in a script, it will happen at script
importation and thus requires more white-listed symbols.
2018-04-18 11:20:39 +02:00
Romain Goyet
5744c010a4 [emscripten] Add more debug flags 2018-04-18 10:04:18 +02:00
Émilie Feral
f12c1b8511 Makefile: Version 1.4.1 2018-04-16 10:56:39 +02:00
Émilie Feral
774cd3545b Makefile: Version 1.4.0 2018-04-11 16:25:17 +02:00
Romain Goyet
5b98f495db [emscripten] Fix simulator build 2018-04-11 16:14:49 +02:00
Léa Saviot
332b0ffd6b [usb/flasher] Add flasher.exe and .bin to the products.
Change-Id: I7061342c70c679e1c1b1dc81f56797d5a48514f3
2018-04-09 10:52:45 +02:00
Léa Saviot
3e0a1959e9 [usb] Only build the flasher if EPSILON_USB_DFU_XIP and
EPSILON_DEVICE_BENCH

Change-Id: I2b93668d07b85c8b33857f2b1652b1a4176bb804
2018-04-09 10:52:39 +02:00
Léa Saviot
b807938031 [ion] Add EPSILON_DEVICE_BENCH
Change-Id: I58de053755305fc610c410a139572f2d0eee2a2d
2018-04-09 10:52:32 +02:00
Léa Saviot
d0c7f94dba [usb-flasher] Recognize our flasher when running make *_flash
Change-Id: Icc5f3044b58efb7910547ca84d7780f55dbc3b4d
2018-04-09 10:50:45 +02:00
Léa Saviot
fc2c975623 [usb-flasher] Create a standalone DFU .bin.
Change-Id: I34e87b66cc51f4e6f4578c8efc7a510ee08cd138
2018-04-09 10:50:28 +02:00
Léa Saviot
4bd0ab3edd [Makefile] Fix verbose.
Change-Id: I629d1b6eac0682d7c7de82f5ba7c90b3ebcfef13
2018-04-06 14:31:49 +02:00
Léa Saviot
18be31da9e [TO REMOVE] Debugging stuff.
Change-Id: I084522adab4327eae2a968f06cda2feda1a9054b
2018-04-06 14:31:46 +02:00
Émilie Feral
849cbf7b89 [build] emscripten toolchain: add white-listed symbols 2018-03-22 11:58:56 +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
Romain Goyet
c0a9ec1c91 [emscripten] Events can be enqueued 2018-03-21 15:54:17 +01:00
Romain Goyet
3ad7b941dd Define and use PYTHON in the build system 2018-02-18 15:21:15 +01:00
Romain Goyet
34d219f5fd [emscripten] Discard EMTERPRETIFY_FILE 2018-02-05 16:50:43 +01:00
Romain Goyet
e5a7b936bc [emscripten] Some mor ASYNC symbols
Needed when starting a script from the contextual script menu
2018-02-05 16:50:43 +01:00
Romain Goyet
bd0e96e6dc [emscripten] Rename the packaged simulator to simulator.zip 2018-02-05 16:50:43 +01:00
Romain Goyet
054fffe77d [emscripten] Use a whitelist of sync symbols that will be interpreted 2018-02-05 16:50:43 +01:00
Romain Goyet
be26a78979 Avoid bloating the products variable 2018-02-02 14:30:35 +01:00
Romain Goyet
5ef24d304d Move debug scripts in the build folder 2018-02-02 14:30:35 +01:00
Romain Goyet
ad261a79aa Emscripten has no SIZE tool 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
6d43b944b4 Use epsilon's name in build products 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
0a3623421c Move device-related Make targets to the appropriate file 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
Léa Saviot
805bdd1381 [python] Fixed infinite recursion bug.
When running a script with infinite recursion, micropython now throws an
error instead of aborting and rebooting the device.

Change-Id: Icd409e56de58a48b25b6bdb30eea1e70b344cc14
2017-12-01 12:06:05 +01:00
Romain Goyet
8a21f24309 Default to the mingw toolchain when building the simulator on Windows 2017-11-12 02:10:19 +01:00
Romain Goyet
9a41ee8ad9 Add the ability to package the web simulator 2017-11-06 21:54:18 +01:00
Romain Goyet
1636d45588 Uniformize toolchain usage 2017-10-19 17:31:40 +02:00
Romain Goyet
7d6bf1649b Avoid using clang by default 2017-10-19 17:31:40 +02:00