Commit Graph

124 Commits

Author SHA1 Message Date
Romain Goyet
4eeffbd98c [ion/device] Share a RAM linker script 2019-02-12 10:22:22 +01:00
Romain Goyet
d96d53e160 [build/device] Generate DfuSe files 2019-02-08 22:12:54 +01:00
Romain Goyet
8254257750 [build] Cleanup 2019-02-08 20:50:38 +01:00
Romain Goyet
a95b7df091 [ion] Update the flasher's target 2019-02-08 16:55:02 +01:00
Romain Goyet
4145d9b5ba [ion] Fix openocd scripts 2019-02-05 17:13:18 +01:00
Romain Goyet
6dcdbede56 [ion/device] Get N0101 working 2019-02-05 17:07:42 +01:00
Romain Goyet
7618318a90 [ion/device] Sort files 2019-02-05 11:23:55 +01:00
Romain Goyet
9b371809ab [build] Fix the flasher build commands 2019-01-11 14:13:19 +01:00
Ruben Dashyan
440d0b47f6 [ion/f730] WIP: Adapt linker script and DEBUG=1 to fit in flash 2019-01-10 17:05:57 +01:00
Romain Goyet
fadee535d5 [build] Allow proper mcpu/mfpu flags for different targets 2019-01-09 17:36:33 +01:00
Romain Goyet
144ec0659c [build] Add an f730 folder 2019-01-09 10:36:38 +01:00
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