ESP32 and SD Card ? #7499
Replies: 2 comments 1 reply
-
Posted at 2024-11-20 by @gfwilliams I think you need
At the time the Personally I'd like to remove FLASHFS totally now. I don't know what others think but IMO it's a bit confusing having two different filesystems, one of which appears in the IDE one of which doesn't. For instance the second post on the forum right now is https://forum.espruino.com/conversations/400842/#comment17584054 where this exact thing has happened We could remove FlashFS and change the partitions so we have a great big area for Storage - and because of the way Storage stores data it's all memory-mapped, so if you write something to it (for example an image) it can be used in Espruino straight from Flash without ever loading it into RAM. Posted at 2024-11-21 by JumJum Flashfs needs to be disabled to have E.connectSDCard running (see jswrap_file.c) |
Beta Was this translation helpful? Give feedback.
-
@gfwilliams Is this the background to the commit on April 1 or 2, 2025 'ESP32: Remove FlashFS, adjust partitions to increase available Storage from 256kB to 896kB'. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2024-11-19 by JumJum
In a project some data should be stored for later use.
My decision is to use an SD Card, to be open for a lot of data.
Problem is E.connectSDCard, I get an error message.
Somewhere in my mind is a feedback like "you have to build your own binary"
After some jumping through sources, I could see FLASHFS and FILESYSTEM.
This is where some confusions starts with different boardfiles for ESP32
First is ESP32.py having both set
Next is ESP32_IDF4.py where both are commented
And for different boards
ESP32C3_IDF4.py, both are commented
ESP32S3_IDF4.py, only FLASHFS is commented
What is the reason for different handling.
What should I do to build a version which supports SD Cards and runs on a standard ESP32 ?
I could use ESP32 WROVER oder WROOM and would prefer the WROVER with additional memory
Beta Was this translation helpful? Give feedback.
All reactions