ESP32-S3-WROOM-1 (N16R8) and LittleFS problem
Posted: Fri Mar 21, 2025 6:40 pm
I am new to ESP32 development and this forum. I have not having luck getting littlefs to work with my S3. I selected ESP32S3 Dev Module as my board. I configured flash size to 16mb, PSRAM to OPI, but I do not have option to select littlefs in the partition scheme, so I created my own custom partition scheme:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x600000,
app1, app, ota_1, 0x610000, 0x600000,
coredump, data, coredump,0xC10000, 0x10000,
littlefs, data, littlefs,0xC20000, 0x300000,
I erased flash using esptool, crated and uploaded new flash with my files. When esp boots, I get following:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1188
load:0x403c8700,len:0x4
load:0x403c8704,len:0xbf0
load:0x403cb700,len:0x30e4
entry 0x403c88ac
E (5) esp_littlefs: partition "spiffs" could not be found
E (16) esp_littlefs: Failed to initialize LittleFS
There is still references "spiffs" even though my partition scheme uses littlefs. For mow I just use simple sketch:
#define SPIFFS LittleFS
//#include <FS.h>
#include <LittleFS.h>
void setup() {
Serial.begin(115200);
if (!LittleFS.begin(true)) {
Serial.println(" Failed to mount LittleFS");
return;
}
Serial.println(" LittleFS mounted!");
}
void loop(){}
Any help would be appreciated.
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x600000,
app1, app, ota_1, 0x610000, 0x600000,
coredump, data, coredump,0xC10000, 0x10000,
littlefs, data, littlefs,0xC20000, 0x300000,
I erased flash using esptool, crated and uploaded new flash with my files. When esp boots, I get following:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1188
load:0x403c8700,len:0x4
load:0x403c8704,len:0xbf0
load:0x403cb700,len:0x30e4
entry 0x403c88ac
E (5) esp_littlefs: partition "spiffs" could not be found
E (16) esp_littlefs: Failed to initialize LittleFS
There is still references "spiffs" even though my partition scheme uses littlefs. For mow I just use simple sketch:
#define SPIFFS LittleFS
//#include <FS.h>
#include <LittleFS.h>
void setup() {
Serial.begin(115200);
if (!LittleFS.begin(true)) {
Serial.println(" Failed to mount LittleFS");
return;
}
Serial.println(" LittleFS mounted!");
}
void loop(){}
Any help would be appreciated.