Commit Graph

15 Commits

Author SHA1 Message Date
Romain Goyet
651d5715e4 [python] Adding mp_hal_input 2018-02-01 14:10:26 +01:00
Léa Saviot
f7766080c3 [python] Fixed the list[:] function. 2017-12-12 09:42:30 +01:00
Léa Saviot
2a0bc95097 [python] Fix min/max functions. 2017-12-12 09:42:10 +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
Léa Saviot
b73170b77b [code] Print errors in the Python console.
Change-Id: If3a096ee46105229b6c4c77906826e78666cdc11
2017-11-17 14:05:23 +01:00
Romain Goyet
024067d8a8 Python: Use MPZ 2017-11-17 12:00:35 +01:00
Romain Goyet
9fa5ac0acf [python] Use the extended math functions 2017-11-17 11:59:49 +01:00
Romain Goyet
440813bdc3 [python] Switch to using doubles 2017-11-17 11:59:49 +01:00
Romain Goyet
247ea217fa [python] Enable the cmath module 2017-11-17 11:59:49 +01:00
Romain Goyet
2283736dfe [python] Enable the math module 2017-11-17 11:59:49 +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
818c56bd45 [python] Enable float
Change-Id: I94111dd821fb3a9ef1e22ae5133c3a48285c52d5
2017-08-25 11:20:49 +02:00
Émilie Feral
b50296d9c2 [apps/code] Repare print() in micropython
Change-Id: I43c46748b15d83e071c7b7f1e8448384ce5ad77f
2017-08-25 11:20:48 +02:00
Émilie Feral
66275c29ab [python] Fix bug in mpconfigport
Change-Id: If020d660f9ac67a94731cf1f77986697826ae624
2017-08-08 17:05:33 +02:00
Romain Goyet
16584c5a88 [python] Initial import of MicroPython 1.9.1
Change-Id: I1a8bafe720fb865f9418fc1e50de1184312e1653
2017-08-04 17:56:24 +02:00