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.
ESP32-S3-WROOM-1 (N16R8) and LittleFS problem
-
vlad2spinn
- Posts: 1
- Joined: Fri Mar 21, 2025 6:10 pm
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 2 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!