I cannot make esp-idf hello world program using Lolin S3 Pro and platformio.

woodymemento
Posts: 3
Joined: Fri Apr 04, 2025 6:15 am

I cannot make esp-idf hello world program using Lolin S3 Pro and platformio.

Postby woodymemento » 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

Code: Select all

Name:HelloWorld
Board:WEMOS LOLIN S3 PRO
Framework:Espidf
platformio.ini is as follows

Code: Select all

[env:lolin_s3_pro]
platform = espressif32
board = lolin_s3_pro
framework = espidf
monitor_speed = 115200
Program is as follows

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);
    }
}
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.

woodymemento
Posts: 3
Joined: Fri Apr 04, 2025 6:15 am

Re: I cannot make esp-idf hello world program using Lolin S3 Pro and platformio.

Postby woodymemento » Mon Apr 07, 2025 1:55 am

I reinstalled VS-Code and PlatformIO and removed cmake app and pressed en button of Lolin S3 Pro.
I don't know what kind of process can clear serial ouput.
Anyway I can put serial logs.
thanks.

Who is online

Users browsing this forum: Bing [Bot] and 1 guest