- 11 Apr, 2016 2 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
-
- 10 Apr, 2016 13 commits
-
-
Paul Sokolovsky authored
When lwIP creates a incoming connection socket of a listen socket, it sets its recv callback to one which discards incoming data. We set proper callback only in accept() call, when we allocate Python-level socket where we can queue incoming data. So, in lwIP accept callback be sure to set recv callback to one which tells lwIP to not discard incoming data.
-
Paul Sokolovsky authored
They call into vendor SDK functions system_get_free_heap_size() and system_print_meminfo() respectively.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
Saves 16 bytes of code. Also, use mp_obj_get_int_truncated to allow integers as big as a machine word to be passed as the value.
-
Damien George authored
Upon start-up, _boot module is executed from frozen files to do early initialization, e.g. create and mount the flash filesystem. Then "boot.py" is executed if it exists in the filesystem. Finally, "main.py" is executed if exists to allow start-on-boot user applications. This allows a user to make a custom boot file or startup application without recompiling the firmware, while letting to do early initialization in Python code. Based on RFC https://github.com/micropython/micropython/issues/1955.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Allows to set fragment type (txt/bin/etc.) for output records.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Will call underlying C virtual methods of stream interface. This isn't intended to be added to every stream object (it's not in CPython), but is convenient way to expose extra operation on Python side without adding bunch of Python-level methods.
-
Paul Sokolovsky authored
-
- 09 Apr, 2016 3 commits
-
-
Paul Sokolovsky authored
Also, handle continuation frames (untested).
-
Paul Sokolovsky authored
This is strange asymmetry which is sometimes needed, e.g. for WebREPL: we want to process only available input and no more; but for output, we want to get rid of all of it, because there's no other place to buffer/store it. This asymmetry is akin to CPython's asyncio asymmetry, where reads are asynchronous, but writes are synchronous (asyncio doesn't expect them to block, instead expects there to be (unlimited) buffering for any sync write to completely immediately).
-
Paul Sokolovsky authored
-
- 08 Apr, 2016 5 commits
-
-
Paul Sokolovsky authored
-
pohmelie authored
After this you need only one path for build (path/to/djgpp/bin). Original patch made by @dhylands
-
Tom Sparks authored
Addresses issue #1972.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 07 Apr, 2016 6 commits
-
-
Paul Sokolovsky authored
The docs are still heavily biased towards WiPy, so will need a lot of exclusions.
-
Paul Sokolovsky authored
-
Martin Fischer authored
SOF irqs are now standard for rx/tx USB transfers, so enable them for both FS and HS modes. Fixes #1944.
-
Damien George authored
Addresses issue #1965.
-
Damien George authored
-
Damien George authored
Because different emitters need to handle with-cleanup in different ways.
-
- 06 Apr, 2016 3 commits
-
-
Damien George authored
Adds 2k to the code size.
-
Paul Sokolovsky authored
-
Damien George authored
Currently UART(0) and UART(1) are exposed and only uart.write works.
-
- 05 Apr, 2016 6 commits
-
-
Paul Sokolovsky authored
-
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 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-