espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.42k stars 7.37k forks source link

SPIFFS filesystem problem #7634

Open franz-66 opened 1 year ago

franz-66 commented 1 year ago

Board

LILYGO TTGO T-Call V1.4 SIM800L

Device Description

LILYGO TTGO T-Call V1.4 SIM800L on breadboard

Hardware Configuration

ND

Version

latest master (checkout manually)

IDE Name

Arduino IDE

Operating System

Windows 11

Flash frequency

80Mhz

PSRAM enabled

no

Upload speed

921600

Description

Incorrect file size after creation with ESP32 FS tool. The problem only occurs with core version 2.0.6.

Immagine 2022-12-27 235940

Sketch

ND

Debug Message

ND

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

me-no-dev commented 1 year ago

we added a new partition in order to have ESP-Insights working. That resulted in 64K less FS partition. We need to update all labels still

Speedy2k commented 1 year ago

we added a new partition in order to have ESP-Insights working. That resulted in 64K less FS partition. We need to update all labels still

Is this the reason why when we update from 2.0.5 to 2.0.6 it always reformat my SPIFFS partition ?? If yes is there a way to avoid that because it errase all saved data doing that!!

Thanx a lot!

me-no-dev commented 1 year ago

@Speedy2k the one thing that comes to mind is to have a custom partitions.csv in your sketch folder that does not have that extra partition and extends the SPIFFS to the previous value (more or less copy the partition scheme from 2.0.5)

handmade0octopus commented 11 months ago

@me-no-dev I encountered errors about core dump partition. I have a question - what if I OTA update my boards that doesn't have this partition? Is it needed or can I continue without using it (use older partition format)? What are benefits? I hope it won't cause any issues once we move to ESP-IDF 5.X based Arduino core?

lbernstone commented 11 months ago

It is required by esp-insights. If you aren't using that, then you don't need the crash dump partition. OTA updates will work just fine, the size of the firmware partitions has not changed.