Comments (9)
Hi @ascillato, thanks for reporting. I've reproduced the issue, please stick to v6.6.0 until I figure out the underlying reason.
from platform-espressif32.
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: [email protected] is already up-to-date
Tool Manager: [email protected]+sha.11140aa is already up-to-date
Tool Manager: [email protected] is already up-to-date
Tool Manager: [email protected] is already up-to-date
Tool Manager: [email protected] is already up-to-date
Tool Manager: [email protected] is already up-to-date
Tool Manager: [email protected] is already up-to-date
Tool Manager: [email protected]+20221002 is already up-to-date
Tool Manager: [email protected]+20221002 is already up-to-date
Tool Manager: [email protected] is already up-to-date
Tool Manager: [email protected]+20230208 is already up-to-date
Tool Manager: [email protected]+20230208 is already up-to-date
Tool Manager: [email protected]+20230208 is already up-to-date
After pio pkg update -g -p espressif32
command, it said that it is up to date but the resulting firmware (clean and build) continued to crash.
So, I just removed all framework-espidf
and espressif32
folders inside .platformio
folder. PIO downloaded all that again and now I have the latest 6.7.0 which works great!
Thanks!!!
EDIT: As I'm using platform = [email protected]
in platformio.ini maybe I needed to use pio pkg update -g -p [email protected]
. Well, I just removed all folders and worked fine. I just leave the comment here for anyone interested.
from platform-espressif32.
Our package was missing the patch from the commit espressif/esp-idf@bd56ca4.
from platform-espressif32.
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 False
, as 6.6.0 has, and now it works fine.
from platform-espressif32.
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
Why this change in 6.7.0 is affecting the compiled firmware which leaves the CPU cache disabled?
from platform-espressif32.
@ascillato this issue should be fixed in the latest framework-espidf
package, please pull the latest changes via pio pkg update -g -p espressif32
command.
from platform-espressif32.
Just to learn, what was the issue? What changed? Can you link to the commit that fixed this? Thanks.
from platform-espressif32.
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)
from platform-espressif32.
@QuAzI The Platformio registry has latest bug fixed versions.
from platform-espressif32.
Related Issues (20)
- Possible bug in xtensa-esp32-elf-g++ (crosstool-NG esp-2021r2-patch5) 8.4.0 HOT 4
- Code works with no issues in Arduino IDE, but throws error on PlatformIO HOT 2
- not find Analog Continuous mode API in "esp32-hal-adc.h" HOT 1
- Exception decoder not working on CLI HOT 2
- FR: Update to bug fix Arduino core 2.0.17 HOT 4
- After upgrading to 6.7.0 - an error! HOT 3
- After the update, the esp32C3 cannot be used with the USB upload program anymore HOT 3
- wrong ESP IDF version in release 6.7.0 notes? HOT 2
- Add support for ESP32-S3-WROOM-1-N4R2 HOT 6
- Add support for M5 Unit-CamS3
- Debugging not hitting breakpoints HOT 2
- Inspect fails HOT 2
- esp32-c6-devkitc-1 defines wrong RAM size HOT 5
- pio remote run -t upload missing address HOT 3
- Update to ESP-IDF v5.2.2 HOT 3
- The board selection list has many duplicate items. HOT 2
- Unable to build Swift library by adding custom target and dependency HOT 1
- Cannot modify watch values in Debug HOT 1
- Will there be a release on Arduino v3.0.1 (ESP-IDF v5.1.4) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platform-espressif32.