Émilie Feral
2f171eb2fd
[python] Add matplotlib test WIP
2020-04-01 16:39:59 +02:00
Émilie Feral
61e7ec52e6
[python] matplotlib: make pyplot a submodule of matplotlib
2020-04-01 10:18:09 +02:00
Romain Goyet
c99bed6922
[python] Stub a matplotlib module
2020-04-01 10:18:08 +02:00
Romain Goyet
ad665fba73
[python] Add a simple test
2020-02-12 15:13:23 +01:00
Romain Goyet
9d66b23848
[python] Add an ion module
2019-11-19 10:08:16 +01:00
Romain Goyet
190e31ef4a
[python] Fix source file names
2019-11-19 10:08:16 +01:00
Léa Saviot
a31eabed47
[python] Fix comment typo
2019-08-21 10:58:12 +02:00
Émilie Feral
059c596a80
Makefiles: avoid building all sources for each target; introduce more
...
modularity
2019-08-08 17:22:01 +02:00
Romain Goyet
0c83253d2e
[scripts] Use BUILD_DIR instead of build_dir
2019-03-06 15:00:59 +01:00
Romain Goyet
bd6339f9dc
[make] Rename OUTPUT_DIRECTORY to build_dir
2019-03-06 15:00:59 +01:00
Romain Goyet
4f1d74f44b
[build] Use an out-of-tree build
2019-03-06 15:00:59 +01:00
Léa Saviot
8ac60983ed
[python/turtle] Remove old turtle icon
2018-12-12 15:45:21 +01:00
Romain Goyet
a9091c933b
[python/turtle] Use a Turtle class
2018-11-16 15:31:31 +01:00
Romain Goyet
22a39a2fd6
[python/turtle] Use a dedicated folder
2018-11-16 10:31:16 +01:00
Romain Goyet
efaa87d36c
Merge branch 'master' into python_turtle
2018-11-16 09:46:11 +01:00
Romain Goyet
d6a2238be6
[python] Clean the Kandinsky's module code
2018-11-15 17:12:01 +01:00
Romain Goyet
a3d6d6ddd6
[ion/timing] Cleanup
2018-11-15 16:19:07 +01:00
Romain Goyet
1142fd00a2
[python] Use a custom modtime implementation
...
It only exposes "monotonic" and "sleep" functions, which are the
only part of CPython's time we can actually do at the moment.
2018-11-15 14:18:01 +01:00
Damien Nicolet
79bfc7f112
[code] time module
2018-11-09 01:30:22 +01:00
Jean-Baptiste Boric
3a7ae27cf7
[python] Fix turtle icon dependency (for real)
2018-10-28 18:32:56 +01:00
Jean-Baptiste Boric
ca589b90f2
[python] Fix turtle icon dependency
2018-10-28 14:20:35 +01:00
Jean-Baptiste Boric
464c1a5c95
[python] Initial turtle module
2018-10-27 14:24:36 +02:00
Romain Goyet
73250e727a
[python] Update to MicroPython 1.9.4
2018-06-04 16:10:14 +02:00
Romain Goyet
8aef4d996c
[python] Restore the should_interrupt routine
2018-04-11 10:27:18 +02:00
Léa Saviot
704e02f765
[python] Add qstrdefs.generated.h to generated_headers in Makefile.
...
This fixes a compilation bug when building without "-j8".
Change-Id: Ic30d379837ab685843f011c3dba01e3d38d2402a
2018-04-06 14:31:44 +02:00
Romain Goyet
3ad7b941dd
Define and use PYTHON in the build system
2018-02-18 15:21:15 +01:00
Romain Goyet
489b26e813
Re-organize and re-prefix the Makefile variables
2018-02-02 14:30:35 +01:00
Romain Goyet
651d5715e4
[python] Adding mp_hal_input
2018-02-01 14:10:26 +01:00
Émilie Feral
5c23003e50
[apps] Python: Refining random module
2018-01-16 13:19:27 +01:00
MaxBzh
4011290e7a
Add Urandom module in Python
2018-01-05 14:28:25 +01:00
Léa Saviot
9a9ccc7a8c
[python] Fixed MicroPython emscripten bug.
...
Micropython did not work because of two problems:
- the stack in ascending order on emscripten
- if optimized, some variables may be stored in local JavaScript
variables, which breaks garbage collection.
Change-Id: Ib454e0c4d995e9f5f85370eea758526119b35773
2017-12-01 12:06:05 +01:00
Léa Saviot
5de4b5cd67
[code] Each script has a name, stored in the accordeon buffer.
...
A script can now be imported in the console.
Moved all the MicroPython functions to python/port files.
Change-Id: I0a23e8cb20005719b800e81470e1c574c702c3b7
2017-11-17 11:59:50 +01:00
Émilie Feral
52f5858ffd
[python][apps/code] Enable interrupting python execution
...
Change-Id: Iadf7038f79f0289ce20d7ded42f8fe70894f0c0a
2017-08-28 13:30:46 +02:00
Émilie Feral
c88b802516
Revert "[python] Do no build nlrthumb.c"
...
This reverts commit 04fade4920 .
Change-Id: I116c43e7bf65f1b538b0353644bf43749c1c31f2
2017-08-09 15:56:47 +02:00
Émilie Feral
04fade4920
[python] Do no build nlrthumb.c
...
Change-Id: I3dc57a27563dfeab3019c1e455907eb2fadbf52a
2017-08-09 09:58:06 +02:00
Romain Goyet
16584c5a88
[python] Initial import of MicroPython 1.9.1
...
Change-Id: I1a8bafe720fb865f9418fc1e50de1184312e1653
2017-08-04 17:56:24 +02:00