printf baud rate ?

don.vukovic
Posts: 31
Joined: Tue Mar 21, 2017 3:40 am

printf baud rate ?

Postby don.vukovic » Tue Jun 25, 2019 1:36 am

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

ESP_Sprite
Posts: 9046
Joined: Thu Nov 26, 2015 4:08 am

Re: printf baud rate ?

Postby ESP_Sprite » Tue Jun 25, 2019 2:12 am

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.

Who is online

Users browsing this forum: ESP_Sprite, Google [Bot] and 213 guests