- 13 Nov, 2015 11 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This also unbreaks "make minimal".
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
It's safer to define it where it's used, defining it for all source files may lead to hard to diagnose conflicts in corner cases.
-
Damien George authored
-
Damien George authored
MICROPY_PERSISTENT_CODE must be enabled, and then enabling MICROPY_PERSISTENT_CODE_LOAD/SAVE (either or both) will allow loading and/or saving of code (at the moment just bytecode) from/to a .mpy file.
-
Damien George authored
Main changes when MICROPY_PERSISTENT_CODE is enabled are: - qstrs are encoded as 2-byte fixed width in the bytecode - all pointers are removed from bytecode and put in const_table (this includes const objects and raw code pointers) Ultimately this option will enable persistence for not just bytecode but also native code.
-
Damien George authored
Contains just argument names at the moment but makes it easy to add arbitrary constants.
-
Damien George authored
-
Damien George authored
-
- 12 Nov, 2015 2 commits
-
-
Paul Sokolovsky authored
Less dependencies.
-
Paul Sokolovsky authored
-
- 11 Nov, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 10 Nov, 2015 4 commits
-
-
Dave Hylands authored
-
Paul Sokolovsky authored
This file contains various MicroPython-specific helper functions, so isn't good fit for lib/libc/.
-
stijn authored
This defaults to 'python' but can be now overridden if needed
-
omtinez authored
-
- 09 Nov, 2015 5 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This makes select.poll() interface fully compatible with CpYthon. Also, make their numeric values of these options compatible with Linux (and by extension, with iBCS2 standard, which jopefully means compatibility with other Unices too).
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 08 Nov, 2015 5 commits
-
-
Paul Sokolovsky authored
-
Alex March authored
Port specific settinigs defined in mpconfigport. FreeRTOS and semphr headers added to define SemaphoreHandle_t for the SYNC_T.
-
Alex March authored
Port specific settings defined in mpconfigport.
-
Alex March authored
- A single ffcon.h file to configure fatfs settings across ports. - A single diskio.h file with common drive definitions. - Removed now reduntand ffconf_template.h.
-
Paul Sokolovsky authored
Now, if we build for an architecture which doesn't have dedicated support for getting registers for GC scanning, fallback to setjmp-based method automatically. It's still possible to force setjmp-based implementation on archs with dedicated support (e.g. for testing, or for peculiar calling conventions/optimizations).
-
- 07 Nov, 2015 6 commits
-
-
Dave Hylands authored
-
Dave Hylands authored
Currently, the only place that clears the bit is in gc_collect. So if a block with a finalizer is allocated, and subsequently freed, and then the block is reallocated with no finalizer then the bit remains set. This could also be fixed by having gc_alloc clear the bit, but I'm pretty sure that free is called way less than alloc, so doing it in free is more efficient.
-
Dave Hylands authored
-
Paul Sokolovsky authored
-
Damien George authored
This patch allows you to stop auto-indent by pressing enter on a second blank line. Easier than having to use backspace, and prevents new users from getting stuck in auto-indent mode.
-
Paul Sokolovsky authored
-
- 06 Nov, 2015 4 commits
-
-
Tony Abboud authored
-
Damien George authored
This patch adds/subtracts a constant from the 30-bit float representation so that str/qstr representations are favoured: they now have all the high bits set to zero. This makes encoding/decoding qstr strings more efficient (and they are used more often than floats, which are now slightly less efficient to encode/decode). Saves about 300 bytes of code space on Thumb 2 arch.
-
T S authored
Initial power up also includes VBAT. If LSE is configured but fails to start, LSI is used until next full power cycle. Also handles STM32F7xx variant.
-
Paul Sokolovsky authored
-
- 05 Nov, 2015 2 commits
-
-
danicampora authored
The default setting of using the "highest" method available doesn't work with some servers like Microsoft Azure. TLSV1 seems to work with pretty much any server.
-
danicampora authored
This fixes paste mode (Ctrl-E) which was not working for the telnet REPL.
-