Files
OpenEPaperLink/ESP32_AP-Flasher/esp32_sdcard.csv
Mimoja f487092f7f Add SDCard support
To be able to store more images and never worry about running
out of storage again we are adding support of SDCards.

We are faced with two options:
1) Remove the LittleFS code
2) Allow for both FSs but increase the app partition as we run
out of space.

We have opted for 2 for two reasons:
1) Unformated SDCards can be initialized from the littleFS
2) If the SDCard and the flasher share the same SPI pins
the SDCard needs to be completely disconnected so there needs
to be a FS in that rare case.

Performance wise the SDCard is not slowing the system down.
Writing the AP db with 70 APs takes 2.5 seconds, on the SD
only 800ms. This however is SD and setup depending.

By default the SDCard is expected on pins 18,19,23 however this
is configurable via preprocessor defines.

Globally we replace LittleFS with a new pointer to the currently
used FS allowing for hotswapping where the FS pointer is not saved.
One case which is therefore not working is the SPIFSEditor which
copies the FS interally.

Signed-off-by: Mimoja <git@mimoja.de>
2023-06-20 17:51:10 +02:00

304 B

1# NameTypeSubTypeOffsetSizeFlags
2nvsdatanvs0x90000x5000
3otadatadataota0xe0000x2000
4app0appota_00x100000x150000
5app1appota_10x1600000x150000
6spiffsdataspiffs0x2B00000x140000
7coredumpdatacoredump0x3F00000x10000