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.