Hi, I’m new to this IDE and I need it to learn rtos for my job.
So I tried to print a simple hello world with a heltec wifi kit 32 v1 I have.
Works fine with the arduino framework. But with esp-idf, compiling and uploading is ok, but the serial monitor displays unreadable characters.
I tried to change the monitor speed and the xtal frequency but nothing change.
Thank you for your help
hello, Nobody can help me?
I just tried with a ESp32 cam and it’s worse, nothing appears on the serial terminal…
Did you set the correct monitor_speed
in your platformio.ini ?
Without knowing your project, it will be impossible to answer your questions. Everything else will be guesswork. Please upload your project to GitHub, for example, and let us know the link so that we can take a look at it.
Yes monitor_speed = 115200
This is just basic “hello world” or other example codes… like this one :
Still missing your exact board, platformio.ini and source code…
So maybe you didn’t read my first post.
Heltec dev kit 32 v1
automatic config file from platform.io
Just added monitor_speed = 115200 to platformio.ini and copy paste example codes to main.c and compile/upload to the board.
And when I try with the esp32 cam AI thinker :
The terminal seem to be waiting for something (the small circle turns infinitely) but nothing appears, BUT when I open the serial monitor from arduino IDE it’s working… so maybe it’s a bug from platform.io IDE in this case…
You’right, I missed the “V1
”
So, the content of your platformio.ini
is
[env:heltec_wifi_kit_32]
platform = espressif32
board = heltec_wifi_kit_32
framework = espidf
monitor_speed = 115200
and the content of your src/main.c
is exactly the hello world example?
The page you mentioned (Découvrir FreeRTOS sur un ESP32 avec PlatformIO) contains multiple sketches. Not sure which one you’re using.
My point is this: We have to be on exactly the same level. This applies to the content of platformio.ini as well as to the source code.
Otherwise it will be very difficult to help you. Guesswork is the most inefficient way to help.