Giter VIP home page Giter VIP logo

Comments (9)

valeros avatar valeros commented on June 24, 2024 1

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.

ascillato avatar ascillato commented on June 24, 2024 1

@valeros

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.

valeros avatar valeros commented on June 24, 2024 1

Our package was missing the patch from the commit espressif/esp-idf@bd56ca4.

from platform-espressif32.

ascillato avatar ascillato commented on June 24, 2024

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.

ascillato avatar ascillato commented on June 24, 2024

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.

valeros avatar valeros commented on June 24, 2024

@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.

ascillato avatar ascillato commented on June 24, 2024

@valeros

Just to learn, what was the issue? What changed? Can you link to the commit that fixed this? Thanks.

from platform-espressif32.

QuAzI avatar QuAzI commented on June 24, 2024

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.

Jason2866 avatar Jason2866 commented on June 24, 2024

@QuAzI The Platformio registry has latest bug fixed versions.

from platform-espressif32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.