Change REPL UART baud rate #17496
Answered
by
robert-hh
hacksterous
asked this question in
ESP8266
|
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. |
Answered by
robert-hh
Jun 14, 2025
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. |
0 replies
Answer selected by
hacksterous
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to 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.