Page 1 of 1

printf baud rate ?

Posted: Tue Jun 25, 2019 1:36 am
by don.vukovic
I have downloaded PlatformIO and have set it up for ESP32.
I loaded hello world and it has compiled and programmed my Sparkfun ESP32-thing board.
The LED is flashing but the serial serial monitor shows nothing but junk.
I tried to connect Teraterm to find the right board rate, but nothing works.

So, I'm in deep water.
Does the printf function use standard Out and is standard Out connected to the serial port ?

How do I change the port number and baud rate, for standardOut ?

Thanks

Re: printf baud rate ?

Posted: Tue Jun 25, 2019 2:12 am
by ESP_Sprite
The Esp32-Thing uses a 26MHz crystal, while esp-idf by default assumes a 40MHz crystal. No idea how PlatformIO handles this, but in ESP-IDF you would use 'make menuconfig' to select an alternative clock frequency.