summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32/tutorial/reset.rst
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-04-22 11:51:35 +1000
committerDamien George <damien@micropython.org>2025-05-21 13:10:01 +1000
commit32c65ad4552d7e7d88c06e94fd903dcea5080c5f (patch)
treed844969767f7267a62cdb89ec284e5b64133928f /docs/esp32/tutorial/reset.rst
parentd5db8f04613b6a7e6f3d55dd8d618e8ccdaecdfa (diff)
downloadmicropython-32c65ad4552d7e7d88c06e94fd903dcea5080c5f.tar.gz
micropython-32c65ad4552d7e7d88c06e94fd903dcea5080c5f.zip
nrf: Only process interrupt chars on UARTs used for REPL.
This commit adds an `attached_to_repl` property to each UART, and makes sure that property is correctly set/unset when the UART is attached to or detached from the REPL. That property is then used to make sure incoming characters on the UART are only checked for the interrupt character if the UART is attached to the REPL. Otherwise a board without REPL on UART can have its code interrupted if ctrl-C is received on the UART. Also, put incoming UART characters on to `stdin_ringbuf` instead of the UARTs ring buffer (the former is much larger than the latter). Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32/tutorial/reset.rst')
0 files changed, 0 insertions, 0 deletions