Commit Graph

8 Commits

Author SHA1 Message Date
É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