- ESP32-S3-DevKitC-1-N16R8.json - this is board description file for ESP32-S3-WROOM-1-N16R8 16 MB (Quad SPI) 8 MB (Octal SPI) documentation or local
- default_16MB.csv this is basic partition file with minimum 3.5Mb spiffs file system and with two 6.5Mb bytes for app0 and app1
- How to create partition file
- move all this files to {ProjectPath} / boards
- edit platformio.ini file:
; Flash: 16MB QD, PSRAM: 8MB OT
[env:ESP32-S3-DevKitC-1-N16R8]
platform = espressif32
board = ESP32-S3-DevKitC-1-N16R8 ; 16 MB Flash, 8MB octo PSRAM
framework = arduino
monitor_speed = 115200
#include "Arduino.h"
#define BOOTLOG( ... ) { char buf[120]; sprintf( buf, __VA_ARGS__ ) ; Serial.print("##[BOOT]#\t"); Serial.println(buf); }
void setup() {
Serial.begin(115200);
}
void loop() {
BOOTLOG("Total heap: %d", ESP.getHeapSize());
BOOTLOG("Free heap: %d", ESP.getFreeHeap());
BOOTLOG("Total PSRAM: %d", ESP.getPsramSize());
BOOTLOG("Free PSRAM: %d", ESP.getFreePsram());
delay(1000);
}
RAM: [= ] 14.6% (used 47780 bytes from 327680 bytes)
Flash: [= ] 11.0% (used 720281 bytes from 6553600 bytes)
##[BOOT]# Total heap: 365636
##[BOOT]# Free heap: 304228
##[BOOT]# Total PSRAM: 8386231
##[BOOT]# Free PSRAM: 8385851
Działa!!!!