-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
Version 6.7.0 crashes on ESP32 when trying to init NVS #1379
Comments
I think I found what is causing this issue. One of the changes of 6.7.0, that differs from 6.6.0, is in espidf.py file: preserve_source_file_extension = board.get(
"build.esp-idf.preserve_source_file_extension", True
) I changed it back to |
Knowing this, I tried to add to platformio.ini the line: board_build.esp-idf.preserve_source_file_extension = no But seems that it is being overrided by espidf.py and the issue persists. I have to change the espidf.py file in order to make the firmware to work. @valeros |
Hi @ascillato, thanks for reporting. I've reproduced the issue, please stick to v6.6.0 until I figure out the underlying reason. |
@ascillato this issue should be fixed in the latest |
Hi, thanks for the fast response! Updating to new 6.7.0 fixes the issue!!!!!!! Thanks!!!!! Very appreciated. $ pio pkg update -g -p espressif32
Platform Manager: espressif32@2024.4.12 is already up-to-date
Tool Manager: framework-arduinoespressif32@3.0.0+sha.11140aa is already up-to-date
Tool Manager: tool-esptoolpy@4.7.2 is already up-to-date
Tool Manager: tool-mkfatfs@2.0.1 is already up-to-date
Tool Manager: tool-mklittlefs@3.2.0 is already up-to-date
Tool Manager: tool-ninja@1.7.1 is already up-to-date
Tool Manager: tool-openocd-esp32@2.1100.20220706 is already up-to-date
Tool Manager: tool-riscv32-esp-elf-gdb@12.1.0+20221002 is already up-to-date
Tool Manager: tool-xtensa-esp-elf-gdb@12.1.0+20221002 is already up-to-date
Tool Manager: toolchain-esp32ulp@1.23500.220830 is already up-to-date
Tool Manager: toolchain-riscv32-esp@12.2.0+20230208 is already up-to-date
Tool Manager: toolchain-xtensa-esp32@12.2.0+20230208 is already up-to-date
Tool Manager: toolchain-xtensa-esp32s3@12.2.0+20230208 is already up-to-date After So, I just removed all Thanks!!! EDIT: As I'm using |
Just to learn, what was the issue? What changed? Can you link to the commit that fixed this? Thanks. |
Our package was missing the patch from the commit espressif/esp-idf@bd56ca4. |
It looks like build https://registry.platformio.org/platforms/platformio/espressif32 still has this issue as esphome still build wrong firmwares (for ESP32-WROOM-32/nodemcu-32s in my case) |
@QuAzI The Platformio registry has latest bug fixed versions. |
…omment-2113134037
Thanks @valeros your #1379 (comment) was tremendously helpful. And thanks @Jason2866 for pointing me in this direction. I don't know how long it might have otherwise taken me to resolve my I've finally been able to create my own custom PlatformIO ESP-IDF release (yay!) that will include some wolfSSL updates for using the |
The latest version of platform-espressif32 v6.7.0 makes that any firmware on ESP32 crashes as soon as it tries to init NVS.
This bug is not present in v6.6.0
Reverting back to 6.6.0 solves this issue and the firmware works as expected.
The firmware tested is:
Error output:
Compiled using Ubuntu.
Please, let me know how I can help on this and if any other information is needed.
The text was updated successfully, but these errors were encountered: