I posted this before but got no responses, so trying again in the hopes that someone may know if this is fixable...
I have a Feather ESP32-S2-TFT (as well as an ESP32-S3 non-TFT), and I can't get either of them to mount SPIFFS.
I tried the same code on a TTGO T-Display ESP32 module (as an ESP32 DEV board), and it works fine on that board. I also ordered the Feather ESP32 V2 board and that one DOES work with SPIFFS, but I find it doesn't work as well with my capacitive touch application, so I have reverted back to the ESP32 S2 TFT since it works well with the capacitive application. Since SPIFFS isn't possible, I am limited in what types of files I can upload to it for a built-in webserver. I want to be able to include some images and possibly some other JS files, and as far as I can tell this is not possible without SPIFFS.
The serial monitor reports that an error occurred while mounting SPIFFS (from this part of the code):
Code: Select all
// Initialize SPIFFS
void initSPIFFS() {
if (!SPIFFS.begin()) {
Serial.println("An error has occurred while mounting SPIFFS");
}
Serial.println("SPIFFS mounted successfully");
}
I am using PlatformIO, and everything compiles as it should, and I can Build the filesystem image and upload it with no errors. It just fails to mount SPIFFs when I run it on the board.
My platform version is 5.2.0. It has been updated a few times since I originally asked this question, but the SPIFFS issue continues.
Any suggestions out there?
Thanks!