- Apr 03, 2015
-
-
Damien George authored
Reference MCU is dsPIC33J256GP506 with 256k ROM and 8k RAM, on the dsPIC DSC Starter Kit board. The REPL works, GC works, pyb module has LED and Switch objects. It passes some tests from the test suite (most it can't run because it doesn't have the Python features enabled).
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- Apr 02, 2015
-
-
Damien George authored
Also rename call_args_t to mp_call_args_t.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
I.e. in this mode, C stack will never be used to call a Python function, but if there's no free heap for a call, it will be reported as RuntimeError (as expected), not MemoryError.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Allow for reuse for stackless design, where preparing args is separate from calling.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- Apr 01, 2015
-
-
Paul Sokolovsky authored
-
- Mar 31, 2015
-
-
Damien George authored
-
Daniel Campora authored
Current version has been numbered as 0.9.0 since Timers/PWM support is still missing.
-
Daniel Campora authored
Error reporting is also changed from detailed to terse, as with the rest of the CC3200's modules. All this combined saves ~200 bytes.
-
- Mar 30, 2015
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Conditional on MICROPY_PY_ALL_SPECIAL_METHODS.
-
Paul Sokolovsky authored
Per https://docs.python.org/3/library/functions.html#round, 2-args format guaranteedly returns float.
-
- Mar 29, 2015
-
-
Ivan Pejić authored
Add example: using named function for the Timer's callback. Add note: improving traceback inside interrupt timers.
-
Damien George authored
-
Daniel Campora authored
There are lots of cosmetic changes, but this release brings a very important bug fix: - Fixed f_unlink() does not remove cluster chain of the file. With R0.10c if you try to write a file that is too large to fit in the free space of the drive, the operation fails, you delete the incomplete file, and it seems to be erased, but the space is not really freed, because any subsequent write operations fail because the drive is "still" full. The only way to recover from this is by formatting the drive. I can confirm that R0.11 fixes the problem.
-
Damien George authored
-
- Mar 27, 2015
-
-
Paul Sokolovsky authored
-
- Mar 26, 2015
-
-
stijn authored
Disabled by default. Enabled on unix and windows ports.
-
Paul Sokolovsky authored
-
Daniel Campora authored
Setting the word count before a SPI transaction is only needed when using DMA.
-
Daniel Campora authored
Increasing it from 1K to 2K gives more freedom to the callback handlers, before this, simply nesting a function call into a printf would cause a stack overflow.
-
Damien George authored
This is a temporary fix.
-
Damien George authored
When just the bytecode emitter is needed there is no need to have a dynamic method table for the emitter back-end, and we can instead directly call the mp_emit_bc_XXX functions. This gives a significant reduction in code size and a very slight performance boost for the compiler. This patch saves 1160 bytes code on Thumb2 and 972 bytes on x86, when native emitters are disabled. Overall savings in code over the last 3 commits are: bare-arm: 1664 bytes. minimal: 2136 bytes. stmhal: 584 bytes (it has native emitter enabled). cc3200: 1736 bytes.
-
Damien George authored
First pass for the compiler is computing the scope (eg if an identifier is local or not) and originally had an entire table of methods dedicated to this, most of which did nothing. With changes from previous commit, this set of methods can be removed and the methods from the bytecode emitter used instead, with very little modification -- this is what is done in this commit. This factoring has little to no impact on the speed of the compiler (tested by compiling 3763 Python scripts and timing it). This factoring reduces code size by about 270-300 bytes on Thumb2 archs, and 400 bytes on x86.
-
Damien George authored
Saves around 230 bytes on Thumb2 and 750 bytes on x86.
-
Daniel Campora authored
-
Daniel Campora authored
-
Paul Sokolovsky authored
Continuation of refactoring applied previously to objlist.
-
Daniel Campora authored
-
Daniel Campora authored
-
- Mar 25, 2015
-
-
Damien George authored
-
Damien George authored
This is intended to improve coverage of the test suite.
-