Change REPL UART baud rate #17496
-
Hi, I plan to send the MicroPython REPL UART Tx data to an FPGA that drives a VGA display, and this FPGA is only capable of 19200 baud at the moment.. I can tweak the Verilog code there, but before I do that I would like to know where to tweak the MicroPython source code to get the REPL baud rate to 19200 (or any other value) -- and recompile it. I have tried changing the file
but it didn't seem to help. Thanks for suggestions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The easiest way to do that is changing/adding the following lines in boot.py:
That will change the REPL to 19200 baud, but will not change the boot messages created by the ROM firmware sent at 74880 baud. |
Beta Was this translation helpful? Give feedback.
The easiest way to do that is changing/adding the following lines in boot.py:
That will change the REPL to 19200 baud, but will not change the boot messages created by the ROM firmware sent at 74880 baud.