Page 1 of 1

How to set Serial Port speed at the Hello_World example of ESP-IDF

Posted: Tue Dec 05, 2023 8:29 am
by chjchoi
I am a newbie to ESP-IDF.
In the Arduino environment, the serial port speed can be determined in the setup function.
In the ESP-IDF environment, the Hello_world example uses printf() function directly. Is it possible to change the speed in hello_world_main.c?

Re: How to set Serial Port speed at the Hello_World example of ESP-IDF

Posted: Tue Dec 05, 2023 11:12 pm
by chjchoi
I'm using TTGO ESP32 LoRa and
I have found the initial message from <ESP-IDF Monitor Device> Click that detected CONFIG_XTAL is 26MHz but set as 40MHz.
So I have changed the Main XTAL frequency to 26MHz then Monitor shows the correct fonts.
Image