-
-
Notifications
You must be signed in to change notification settings - Fork 800
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
Custom Git platform_packages not fetched correctly #3675
Comments
This is invalid package for PlatformIO. We support only stable ESP-IDF. |
That was just an example. It fails in the same way with my fork that's based on the ESP-IDF stable and just has a couple patches. Either way, isn't it concerning that some weird files are ending up in |
Does that package contain |
Ah, It does not contain a Just curious, are the scripts that generate the official |
We just use source code from https://github.com/espressif/esp-idf/tags. You can fork ESP-IDF and add this |
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system: macOS
PlatformIO Version 5.0.2a2
Description of problem
Specifying a custom Git URL in
platform_packages
sometimes doesn't work. The specified Git repo appears to be cloned, but~/.platformio/packages/framework-X
does not end up with the correct files. Instead, it ends up containing a few files for something calledjson-patch-test-suite
.Steps to Reproduce
Use an env like this:
Run
pio run
.Actual Results
Based on CLI output, both frameworks above appear to be cloned. The Arduino framework appears to end up in the correct spot, at
~/.platformio/packages/framework-arduinoespressif32
.However, the ESP-IDF framework disappears into the ether. The
~/.platformio/packages/framework-espidf
directory ends up with a scant few files:The contents of the
package.json
and README in there indicate that this is something called "json-patch-test-suite". No idea how it got there.Expected Results
Expect a copy of the ESP-IDF from the specified Git URL to end up in the right place.
Additional info
Using
[email protected]:espressif/esp-idf.git
instead of a HTTPS URL still has the same issue. Using my own ESP-IDF fork (tidbyt/esp-idf) has the same issue.Notably, this all worked fine before upgrading to PlatformIO Core v5. Not sure if #3624 is related.
If problems with PlatformIO Build System:
The content of
platformio.ini
:The text was updated successfully, but these errors were encountered: