summaryrefslogtreecommitdiffstatshomepage
path: root/py/objstringio.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2020-11-03 23:27:47 +1100
committerDamien George <damien@micropython.org>2020-11-13 17:19:05 +1100
commit61d1e4b01b1bf77e5ca478e18065f0691ae274a7 (patch)
treef7b5d2b0d460473e5ff87ece96272073a5ce02e7 /py/objstringio.c
parent81e92d3d6e1a605a6115821ac24dcbc2546ba0f9 (diff)
downloadmicropython-61d1e4b01b1bf77e5ca478e18065f0691ae274a7.tar.gz
micropython-61d1e4b01b1bf77e5ca478e18065f0691ae274a7.zip
extmod/nimble: Make stm32 and unix NimBLE ports use synchronous events.
This changes stm32 from using PENDSV to run NimBLE to use the MicroPython scheduler instead. This allows Python BLE callbacks to be invoked directly (and therefore synchronously) rather than via the ringbuffer. The NimBLE UART HCI and event processing now happens in a scheduled task every 128ms. When RX IRQ idle events arrive, it will also schedule this task to improve latency. There is a similar change for the unix port where the background thread now queues the scheduled task. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/objstringio.c')
0 files changed, 0 insertions, 0 deletions