Seeking Assistance to Resolve ESP32-S3-WROOM-1 Configuration Issue in PlatformIO (VS Code)

I am using the ESP32-S3-WROOM-1 module in VS Code with PlatformIO. I initially selected Espressif esp32-s3-devkitC-1-N8 (8MB QD, No PSRAM) and also tried selecting Espressif esp32-s3-devkitM-1, but I did not get any output. Later, someone suggested the configuration mentioned below, but even after applying it, I am still facing issues. I have described what appears on the serial monitor below.


#include <Arduino.h>

// put function declarations here:

int myFunction(int, int);

int result;

void setup() {

// put your setup code here, to run once:

result = myFunction(2, 3);

Serial.begin(115200);

}

void loop() {

// put your main code here, to run repeatedly:

Serial.println( result);

delay(3000);

}

// put function definitions here:

int myFunction(int x, int y) {

return x + y;

}

I am now receiving output in the serial monitor.


ESP-ROM:esp32s3-20210327

Build:Mar 27 2021

rst:0x3 (RTC_SW_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)

Saved PC:0x403cdb0a

SPIWP:0xee

mode:DIO, clock div:1

load:0x3fce3808,len:0x4bc

load:0x403c9700,len:0xbd8

load:0x403cc700,len:0x2a0c

entry 0x403c98d0

ESP-ROM:esp32s3-20210327

Build:Mar 27 2021

rst:0x3 (RTC_SW_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)

Saved PC:0x403cdb0a

SPIWP:0xee

mode:DIO, clock div:1

load:0x3fce3808,len:0x4bc

load:0x403c9700,len:0xbd8

load:0x403cc700,len:0x2a0c

entry 0x403c98d0

ESP-ROM:esp32s3-20210327

Build:Mar 27 2021

rst:0x3 (RTC_SW_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)

Saved PC:0x403cdb0a

SPIWP:0xee

mode:DIO, clock div:1

lo�ESP-ROM:esp32s3-20210327

Build:Mar 27 2021

This is my configuration setup.


[env:esp32-s3-devkitc-1]

platform = espressif32

board = esp32-s3-devkitc-1

framework = arduino

board_build.arduino.memory_type = qio_qspi

board_build.flash_mode = qio

board_build.psram_type = qio

board_upload.flash_size = 4MB

board_upload.maximum_size = 4194304

board_build.extra_flags =

-DBOARD_HAS_PSRAM

monitor_speed = 115200

These are the details of my controller.


In my custom board, I am using the **ESP32-S3-WROOM-1** module, and the following details are mentioned on the board:

* **ESPRESSIF**

* **ESP32-S3-WROOM-1**

* **CCAF22Y10170T3**

* **FCC ID**: 2AC7Z - ESPS3WROOM1

* **IC21098**: ESPS3WROOM1

* **CMIIT ID**: 2022DP2892

* **MCN4R2**

I’m doing the same thing in Arduino and getting output, but I’m not getting any output in VS Code.

This is the default settings image from Arduino.

I would greatly appreciate any assistance in resolving this issue, as I am a fresher and still learning how to use this platform effectively.