- 21 May, 2017 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Both aren't part of generic Hardware API: It's impossible to implement .id() method in a generic case (e.g., when Pin is instantiated by the underlying OS/RTOS). .board attribute is an obvious space hog which instead can be implemented on Python level if needed.
-
Paul Sokolovsky authored
It's not part of MicroPython HW API and can be easily implemented on Python level in case of need. Saved 56 bytes of binary.
-
- 19 May, 2017 3 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
Returns 0 or 1, corresponding to no or at least 1 char waiting.
-
- 18 May, 2017 4 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 17 May, 2017 4 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
The docs are updated and describe the new behaviour of these methods.
-
Damien George authored
-
- 16 May, 2017 9 commits
-
-
Paul Sokolovsky authored
Following finalized naming in uasyncio.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
If no network driver is enabled (e.g., it doesn't exist for a particular board), it will be NULL.
-
Paul Sokolovsky authored
Instead, just peek a packet at the head of the queue and work with it.
-
Paul Sokolovsky authored
Here we wait for non-empty FIFO, and then directly access/drop its head element.
-
Damien George authored
Regression was introduced by ec534609
-
Damien George authored
-
Damien George authored
pyb.UART has a superset of machine.UART functionality so can be used to provide compatibility with other ports that also implement machine.UART.
-
puuu authored
-
- 15 May, 2017 2 commits
-
-
Tom Collins authored
-
Tom Collins authored
Existing code failed if seek() went past EOF (which is acceptable when writing).
-
- 14 May, 2017 5 commits
-
-
Paul Sokolovsky authored
To make them harder to miss.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
May be a port-specific method, not portable, not part of the official specification.
-
Tom Collins authored
Working on a build with PY_IO enabled (for PY_UJSON support) but PY_SYS_STDFILES disabled (no filesystem). There are multiple references to mp_sys_stdout_obj that should only be enabled if both PY_IO and PY_SYS_STDFILES are enabled.
-
Paul Sokolovsky authored
-
- 13 May, 2017 10 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This solves a case when socker_read() has blocked on fifo, and then peer closed event arrives.
-
Paul Sokolovsky authored
Requires patch in review.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
The most important info it returns are numbers of free buffers in different pools (rx/tx packet headers, data fragments).
-
Paul Sokolovsky authored
Fixes Zephyr tests.
-
Damien George authored
-
Damien George authored
-
Robert HH authored
This happened when the overflow counter for ticks_ms() was interrupted by an external hard interrupt (issue #3076).
-
Damien George authored
-