I cannot make esp-idf hello world program using Lolin S3 Pro and platformio.
Posted: Fri Apr 04, 2025 7:06 am
I'm using Lolin S3 PRO(ESP32-S3-WROOM-1).
I used Arduino Ide and I needed to use ulp.
So I need to change ide from Arduino Ide to PlatformIO(VS-Code).
I created a Hello world PlatformIO project and parameters are as follows
platformio.ini is as follows
Program is as follows
At first, I compiled as above settings but I cannot see any serial output.
Secondly, I thought sdkconfig of
"component config-> ESP System Settings-> Channel for console output"
is UART0(Default) is wrong.
I set that config USB CDC(USB Serial/JTAG Controller is Secondly) but
It still didn't output serial "hello world".
What is a wrong ?
thank you for your help.
I used Arduino Ide and I needed to use ulp.
So I need to change ide from Arduino Ide to PlatformIO(VS-Code).
I created a Hello world PlatformIO project and parameters are as follows
Code: Select all
Name:HelloWorld
Board:WEMOS LOLIN S3 PRO
Framework:Espidf
Code: Select all
[env:lolin_s3_pro]
platform = espressif32
board = lolin_s3_pro
framework = espidf
monitor_speed = 115200
Code: Select all
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
void app_main(void) {
while (1) {
printf("Hello, World!\n");
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
}
Secondly, I thought sdkconfig of
"component config-> ESP System Settings-> Channel for console output"
is UART0(Default) is wrong.
I set that config USB CDC(USB Serial/JTAG Controller is Secondly) but
It still didn't output serial "hello world".
What is a wrong ?
thank you for your help.