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
Got stuck on the develop
branch for my platform
& could not build for hours, even after changing the value several times and removing directories entirely
#1264
Comments
Hi @aremmell
I'm not sure if it's a typo, but the |
Yeah, sorry. I meant ~/.platformio. Thanks for the info. Perhaps a better error message is needed that includes this information, since it is not obvious and I had to do a ton of digging to resolve it. Maybe something explicit with the instructions you just provided. |
I just realized I didn't comment your suggestions:
If I understood correctly, CMake scripts are doing the right thing as Arduino Core v2.0.14 requires IDF v4.4.6, so unfortunately, there isn't much we can do.
I guess there is a misconception of how PlatformIO handles installed development platforms, so let me clarify this behavior a bit: In the first try after removing the
Those instructions are mostly specific to your situation, I'm not sure if there is a proper place for them in this repo. |
@valeros Thanks for the response. I am simply trying to relate that as a consumer of the software, it is not obvious how things are done behind the scenes whenever you make changes to In fact, all of the platform/framework/arduino-this and espressif-that and platformio-that is really confusing to a newcomer. I would recommend making the error message in question more actionable by including some text that says something like "... Please check your platformio.ini configuration. You may also have cached installations at That is just from my perspective; maybe everyone else knows something I don't 😉 |
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions. |
I am not entirely sure what happened in what order, but:
platformio.ini
to look like this:~/.espressif/packages/platform-espressif32*
entirely, plus completely removing and reinstalling ESP-IDF several times, I was apparently stuck on thedevelop
branch of the git repository for my platform package.I know this is true, because I reverted the syntax to
platform = espressif32
, and evenplatform = espressif32 @ 6.4.0
(and re-deleted the directories), but I still got the following error fromCMakeFiles.txt:19
every time I tried to build:The numbers were something like: "between 4.4.0 and 4.4.99, but a newer version is detected: 5.1.2"
I knew I had explicitly installed ESP-IDF 4.x.x, so I could not understand how I kept getting this error.
platform = espressif32 @ 6.4.0
andplatform_packages = framework-espidf @ ~3.40405.0
; now everything is back to normal.I suppose I am suggesting two things:
platform
to a git repository URL, then changing it back after the fact. It's getting stuck and continuing to pull from git (or it has locally cached it) instead of the specified version in the ini file.Please let me know if there are any logs I can send, or if you'd like me to repro with some conditions set up in a certain way. I'd be glad to do that in order to prevent someone else from losing half a day on this!
Versions:
The text was updated successfully, but these errors were encountered: