- 27 Dec, 2014 10 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Patches to fatfs for our use will follow.
-
Damien George authored
This patch makes the MICROPY_PY_BUILTINS_SLICE compile-time option fully disable the builtin slice operation (when set to 0). This includes removing the slice sytanx from the grammar. Now, enabling slice costs 4228 bytes on unix x64, and 1816 bytes on stmhal.
-
Damien George authored
This patch makes MICROPY_PY_BUILTINS_SET compile-time option fully disable the builtin set object (when set to 0). This includes removing set constructor/comprehension from the grammar, the compiler and the emitters. Now, enabling set costs 8168 bytes on unix x64, and 3576 bytes on stmhal.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 24 Dec, 2014 3 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
This script is rewrite of run-tests-exp.sh, and tries to achieve self-hosted testsuite running in environments where neither CPython nor unix shell is available. As run-tests-exp.sh, it requires complete set of .exp files pre-generated with ./run-test --write-exp.
-
Damien George authored
-
- 23 Dec, 2014 2 commits
-
-
Dave Hylands authored
It seems the Mac will happily wipe out at least some of the data on a freshly reset filesytem, if the filesystem was reset while plugged into the Mac.
-
Paul Sokolovsky authored
system() is the basic function to support automation of tasks, so have it available builtin, for example, for bootstrapping rest of micropython environment.
-
- 22 Dec, 2014 2 commits
-
-
Damien George authored
This renders it in yellow/orange box on RTD server.
-
Damien George authored
This optimisation reduces the VM exception stack element (mp_exc_stack_t) by 1 word, by using bit 1 of a pointer to store whether the opcode was a FINALLY or WITH opcode. This optimisation was pending, waiting for maturity of the exception handling code, which has now proven itself. Saves 1 machine word RAM for each exception (4->3 words per exception). Increases stmhal code by 4 bytes, and decreases unix x64 code by 32 bytes.
-
- 21 Dec, 2014 6 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
This patch gives proper SyntaxError exceptions for bad global/nonlocal declarations. It also reduces code size: 304 bytes on unix x64, 132 bytes on stmhal.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 20 Dec, 2014 9 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Helps other ports.
-
Damien George authored
-
Damien George authored
This saves around 100 bytes code space on stmhal, more on unix.
-
Damien George authored
This speeds up writes significantly.
-
Damien George authored
-
Paul Sokolovsky authored
Just adjust line-endings of micropython.exe output, the rest should be handled by Wine (automagically on properly configured distro). To run: MICROPY_MICROPYTHON=../windows/micropython.exe ./run-tests
-
stijn authored
-
- 19 Dec, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
Adds just 60 bytes to stmhal binary. Addresses issue #362.
-
- 18 Dec, 2014 3 commits
-
-
Paul Sokolovsky authored
This fixes FORCED_EXIT internal flag leaking into Windows exit code.
-
Damien George authored
acoshf, asinhf, atanhf were added from musl. mathsincos.c was split up into its original, separate files (from newlibe-nano-2). tan was added. All of the important missing float functions are now implemented, and pyboard now passes tests/float/math_fun.py (finally!).
-
Damien George authored
-
- 17 Dec, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Gregory authored
N (mod 4) is 0..3
-
- 16 Dec, 2014 1 commit
-
-
Paul Sokolovsky authored
Name choosen per latest conventions and for compatibiity with stmhal port.
-