summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/uart.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-15 09:47:27 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-15 09:47:27 +0100
commit2547928148aefcf163953057979e14f46bef1170 (patch)
treef9fa0f2729143dc1ac8d4f1ff159b583dee1a389 /stmhal/uart.c
parentc0711cbefa6a54b35c23c64f63c13dd3e78b25da (diff)
downloadmicropython-2547928148aefcf163953057979e14f46bef1170.tar.gz
micropython-2547928148aefcf163953057979e14f46bef1170.zip
stmhal: Add Python function to set UART for REPL.v1.1.1
This adds a hook to get/set pyb_uart_global_debug from Python, using pyb.repl_uart(). You can set it to an arbitrary UART object, and then the REPL (in and out) is repeated on this UART object (as well as on USB CDC). Ultimately, this will be replaced with a proper Pythonic interface to set sys.stdin and sys.stdout.
Diffstat (limited to 'stmhal/uart.c')
0 files changed, 0 insertions, 0 deletions