-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Decreasing SPIFFS partition size by 4 bytes to workaround issue #7467 #7472
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
Conversation
@SuGlider, @CoryCharlton The 4 byte less corresponds in a filesystem which is not 4 k aligned. Did you try an OTA update of the filesystem? arduino-esp32/libraries/Update/src/Updater.cpp Lines 153 to 158 in 972c3bb
arduino-esp32/libraries/Update/src/Updater.cpp Lines 207 to 215 in 972c3bb
Means this must be considered: #define SPI_FLASH_SEC_SIZE 4096 /**< SPI Flash sector size */ |
Is this still needed with the change/fix of esptool commit? https://github.com/espressif/esptool/tree/21e59148e73e384947327a0883a753685e03d143 |
I think that it may have fixed the issue reported by @CoryCharlton |
@me-no-dev - not sure how this fix to esptool may be reflected into the Arduino Core tools. |
@SuGlider this fix needs to be released from esptool team and then we can try to update it for Arduino |
@me-no-dev Not using Arduino IDE so maybe a total dumb question. Why not using esptool.py directly? You are using in Arduino Lib Builder components from latest master branch to build the libs. Why not doing for esptool.py too? |
Confirmed that this change resolves the issue. Closing this PR and will close the issue. |
we pull esptool when released (or when it's necessary), but in this case, the change that fixes this issue is not part of any released esptool yet. We can not use the one in ESP-IDF, because for Windows and Mac we need the compiled versions (which are part of the releases of esptool) |
Description of Change
Decreasing SPIFFS partition size by 1KB to workaround issue #7467
Tests scenarios
Tested with PIO using Arduino Core v2.0.5 using an Unexpected Maker FeatherS3
Related links
Works around #7467