- 05 Apr, 2016 5 commits
-
-
Damien George authored
Use esp.osdebug(None) to disable, or esp.osdebug(uart_id) to send output to a UART.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 04 Apr, 2016 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
mp_fun_kw_t takes mp_map_t* (and not const mp_map_t*) to ease passing this arg to mp_map_lookup(), which may modify its arg, depending on flags.
-
- 03 Apr, 2016 8 commits
-
-
pohmelie authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
With gap between segments minimized, there's not much padding to flash, so no big speed overhead.
-
Paul Sokolovsky authored
With .rodata being in FlashROM now, gap can be much smaller now. InstRAM can be max 32K, and with segment headers, that already makes it more than 32K. Then there's some .data still, and the next Flash page boundary is 0x9000. That figure should be more or less future-proof. TODO: Refactor makeimg to take FlashROM segment offset from file name.
-
- 02 Apr, 2016 13 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Needed for frozen scripts, and for future growth of binary.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This is helpful when running on deeply embedded targets, but may be "security risk". Caveat emptor.
-
Paul Sokolovsky authored
Allows to re-run code if it was imported as a module (e.g., on bare-metal ports).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Allows to re-run code if it was imported as a module (e.g., on bare-metal ports).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
And with "buffering" arg introduced, it's non possible to make it non-kwonly.
-
Paul Sokolovsky authored
It's ignored (unbuffered, raw I/O is used), but least makes it compatible with CPython.
-
- 01 Apr, 2016 10 commits
-
-
Damien George authored
Starting with a divisor of 10, pystone_lowmem gives a score of 256.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Stephen Kyle authored
-
Damien George authored
-
Damien George authored
This was originally used for non-event based REPL processing. Then it was unused when event-based processing was activated. But now that event based is disabled, and non-event based is back, there has been new ring buffer code to process the chars.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Event-driven loop (push-style) is still supported and default (controlled by MICROPY_REPL_EVENT_DRIVEN setting, as expected). Dedicated loop worked even without adding ets_loop_iter(), though that needs to be revisited later.
-
Paul Sokolovsky authored
Before this change, if REPL blocked executing some code, it was possible to still input new statememts and excuting them, all leading to weird, and portentially dangerous interaction. TODO: Current implementation may have issues processing input accumulated while REPL was blocked.
-
Pavol Rusnak authored
-