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…