-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP8266 allows flash split to have 3MB of SPIFFS, ESP32 only allows up to 1.5MB of SPIFFS in the arduino GUI #1799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Apparently, you can change this in
|
You can change your csv partition file without blowing up things as long as you don't touch the nvs and otadata partitions and as long as the app0 partition starts at address 0x10000. |
Thanks, it would however be nicer if the GUI allowed more splits or at least allowed a split as big as the lesser ESP8266 chip. |
Awww... it's been a while @marcmerlin :) feel free to come up with better partition schemes and make a PR :P Surely we can have as many partition schemes as we want. Just someone with need needs to pus some time. Reason is that unless we hit a particuylar limitation that can not be handled by one of the existing ones, nobody knows what to create. |
Hi @me-no-dev yes, I work a lot on something for a while, and then disappear for a year or so as I move to one of my too many other hobbies ;) I'll see if I can make a proposal for this but someone else is welcome to beat me to it. |
With the latest git, "large app, no OTA" gives 2MB of spiffs, which is not bad. The only problem is how non obvious how much or little spiffs you get from each of the options. |
@me-no-dev would it be possible to simply show the amount of program flash vs spiffs room for each compile option (like minimal: 1M/1M, No OTA 2M/2M, Huge App: 3M/1M, etc...) |
Existing format options were unclear on how much spiffs you were getting. Also add missing 1MB App/3MB Spiffs split. This addresses espressif#1799 This makes it very clear what each option gives you, and also adds 2 options to get ffat on 4MB chips..
@me-no-dev @lbernstone better late than never I guess, this PR addresses this issue (and then some) as well as adds some ffat options to esp32-dev: |
…s. (#2623) * Added 2 ffat partition schemes for 4MB modules + improved descriptions. Existing format options were unclear on how much spiffs you were getting. Also add missing 1MB App/3MB Spiffs split. This addresses #1799 This makes it very clear what each option gives you, and also adds 2 options to get ffat on 4MB chips.. * Added link to ffat howto.
…s. (#2623) * Added 2 ffat partition schemes for 4MB modules + improved descriptions. Existing format options were unclear on how much spiffs you were getting. Also add missing 1MB App/3MB Spiffs split. This addresses espressif/arduino-esp32#1799 This makes it very clear what each option gives you, and also adds 2 options to get ffat on 4MB chips.. * Added link to ffat howto.
Can you change the hardware configuration for ESP32 in arduino so that the compile menu options also allow splitting the flash so that more than 1.5MB out of 4MB is usable for SPIFFS? (default is 1MB, 'No OTA" boost this to only 1.5MB)
This is true as of today with arduino-esp32 from git, and arduino 1.8.6 pre release.
The text was updated successfully, but these errors were encountered: