summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/machine_uart.c
Commit message (Collapse)AuthorAge
* all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.Damien George2017-06-15
|
* esp8266/machine_uart: Add uart.any() method.Damien George2017-05-19
| | | | Returns 0 or 1, corresponding to no or at least 1 char waiting.
* py: Add iter_buf to getiter type method.Damien George2017-02-16
| | | | | | | | | | | | | | | Allows to iterate over the following without allocating on the heap: - tuple - list - string, bytes - bytearray, array - dict (not dict.keys, dict.values, dict.items) - set, frozenset Allows to call the following without heap memory: - all, any, min, max, sum TODO: still need to allocate stack memory in bytecode for iter_buf.
* esp8266/uart: Add support for polling uart device.marc hoffman2017-02-03
|
* all: Remove readall() method, which is equivalent to read() w/o args.Paul Sokolovsky2016-11-14
| | | | | | Its addition was due to an early exploration on how to add CPython-like stream interface. It's clear that it's not needed and just takes up bytes in all ports.
* esp8266: Rename "machine" module implementation to use contemporary naming.Paul Sokolovsky2016-11-06
Previously they used historical "pyb" affix causing confusion and inconsistency (there's no "pyb" module in modern ports; but people took esp8266 port as an example, and "pyb" naming kept proliferating, while other people complained that source structure is not clear).