How do you set up a new board ESP32-S3 N16R8

Hi, I’m new to this, I have just read a topic about the new esp32-s3 n16r8 board and it is not clear to me how this is done. ie add the board to PlatformIO what to put in the platformio.ini file.
Also what is ‘xtensa-esp32s3-elf-g++’ is not recognized as an internal or external command,
Is there any more information that’s available so I can try this board?
(Have used the Doit ESP32 on PlatformIO with no problems)
Hope some one can help.

many thanks

I’m trying to figure this out too. I asked Espressif if they support Platform IO for their boards, and they said no. Which makes me wonder if PIO is the right path.

Did you figure this out?

Take a look at this:
https://docs.platformio.org/en/latest/platforms/creating_board.html


None of these threads had the right config for you? Two of them are marked as solved…

Just managed to get it to work, found esp32-s3-devkitc-1 - n16r8v.json file on github and copied it to the ,platformio/platforms/expressif32/boards folder. and created a new Project in Platformio and used that board.

platformio.ini:
[env:esp32-s3-devkitc-1 - n16r8v]
platform = espressif32
board = esp32-s3-devkitc-1 - n16r8v
framework = arduino
monitor_speed = 115200

lib_deps = FASTLED


main.cpp:

#include <Arduino.h>
#include <FastLED.h>

#define NUM_LEDS 1
#define DATA_PIN 48
int i=0;

CRGB leds[NUM_LEDS];

void setup() {
FastLED.addLeds<SK6812, DATA_PIN, GRB>(leds, NUM_LEDS);
Serial.begin(115200);
}

void loop() {
if (i != 4){

for (i=0; i<4; i++){

  leds[0] = CRGB::Red;
  FastLED.show();
  Serial.println("RED LED is ON");
  delay(500);
  leds[0] = CRGB::Green;
  FastLED.show();
  Serial.println("GREEN LED is ON");
  delay(500);
  leds[0] = CRGB::Blue;
  FastLED.show();
  Serial.println("BLUE LED is ON");
  delay(500);
  leds[0] = CRGB::Black;
  FastLED.show();
  Serial.println("LED's are OFF");
  delay(1500);
}

}
}

Part of upload:

Linking .pio\build\esp32-s3-devkitc-1 - n16r8v\firmware.elf
Retrieving maximum program size .pio\build\esp32-s3-devkitc-1 - n16r8v\firmware.elf
Checking size .pio\build\esp32-s3-devkitc-1 - n16r8v\firmware.elf
Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
RAM: [= ] 5.9% (used 19324 bytes from 327680 bytes)
Flash: [ ] 3.8% (used 251873 bytes from 6553600 bytes)
Building .pio\build\esp32-s3-devkitc-1 - n16r8v\firmware.bin
esptool.py v4.4

Hope that helps…

Here’s the link I found.

This is from the Espressif’s web site. PlatformIO - ESP32 - — ESP-IDF Programming Guide latest documentation . I posted in their forums questions with platformio/espidf projects.

Hi, Long time but I have changed the Board .json file and have this result…

This is my Platform.ini file:
image

esp32-s3-devkitc-1-n16r8v.json file:

{
  "build": {
    "arduino":{
      "ldscript": "esp32s3_out.ld",
      "partitions": "default_16MB.csv"
    },
    "core": "esp32",
    "extra_flags": [
      "-DARDUINO_ESP32S3_DEV",
      "-DARDUINO_USB_MODE=1",
      "-DARDUINO_RUNNING_CORE=1",
      "-DARDUINO_EVENT_RUNNING_CORE=1"
    ],
    "f_cpu": "240000000L",
    "f_flash": "80000000L",
    "flash_mode": "qio",
    "hwids": [
      [
        "0x303A",
        "0x1001"
      ]
    ],
    "mcu": "esp32s3",
    "variant": "esp32s3"
  },
  "connectivity": [
    "wifi"
  ],
  "debug": {
    "default_tool": "esp-builtin",
    "onboard_tools": [
      "esp-builtin"
    ],
    "openocd_target": "esp32s3.cfg"
  },
  "frameworks": [
    "arduino",
    "espidf"
  ],
  "name": "Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB QD, No PSRAM)",
  "upload": {
    "flash_size": "16MB",
    "maximum_ram_size": 327680,
    "maximum_size": 16777216,
    "require_upload_port": true,
    "speed": 460800
  },
  "url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/hw-reference/esp32s3/user-guide-devkitc-1.html",
  "vendor": "Espressif"
}

Hope that helps?