-
- Downloads
stmhal: Fix REPL printing by cooking output sent to stdout_obj.
Recent changes to builtin print meant that print was printing to the mp_sys_stdout_obj, which was sending data raw to the USB CDC device. The data should be cooked so that \n turns into \r\n.
Showing
- stmhal/main.c 3 additions, 5 deletionsstmhal/main.c
- stmhal/modpyb.c 5 additions, 5 deletionsstmhal/modpyb.c
- stmhal/printf.c 4 additions, 14 deletionsstmhal/printf.c
- stmhal/pybstdio.c 27 additions, 17 deletionsstmhal/pybstdio.c
- stmhal/pybstdio.h 4 additions, 1 deletionstmhal/pybstdio.h
- stmhal/pyexec.c 2 additions, 1 deletionstmhal/pyexec.c
- stmhal/readline.c 2 additions, 1 deletionstmhal/readline.c
- stmhal/uart.c 0 additions, 6 deletionsstmhal/uart.c
- stmhal/uart.h 0 additions, 3 deletionsstmhal/uart.h
- stmhal/usb.c 0 additions, 4 deletionsstmhal/usb.c
- stmhal/usb.h 0 additions, 1 deletionstmhal/usb.h
Loading
Please register or sign in to comment