-
-
Notifications
You must be signed in to change notification settings - Fork 624
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
Running idf.py reconfigure
from PlatformIO
#1157
Comments
Hi @kevinhikaruevans ! There is no support for the dependencies:
espressif/mdns: ">=1.2.0" Then clean and compile your project from scratch, the internal IDF build system will download that dependency and PlatformIO should pick up that new component automatically. |
Thanks! I understand now. |
Hi @valeros I have a similar question but with Managed Components available from https://components.espressif.com Specifically, I've been working with @Jason2866 to improve wolfSSL support in PlatformIO, and in general with the ESP-IDF. I've successfully published a PlatformIO version of wolfSSL here: https://registry.platformio.org/libraries/wolfssl/wolfSSL and it works by including this text in the
For reference, see also the ESP Registry version here: https://components.espressif.com/components/wolfssl/wolfssl However... what I need to do, is to inform the ESP-IDF that I have a local wolfssl component that can be used in the ESP-IDF (specifically by the This is described in espressif/esp-idf#13966 (comment) and specifically implemented in my case like this (WIP):
As you may know: when PlatformIO installs "components" they are not in the local project components directory. Instead, the source is copying into I need to somehow identify that as a "component" to pass a parameter to Clear as mud? I realize this seems like a convoluted solution. It does however, solve the license and distribution issues noted in the home page of Espressif/esp-wolfssl. It seems to work well for regular "components" as recognized by Espressif: either simply in the local project "components" directory or installed as a Managed Component (e.g. named My only alternative seems to be installing the Managed Component directly... but it needs
Do you have any suggestions on how I should proceed? Thank you. |
Hi @gojimmypi, libraries installed via |
Hi @valeros - thank you for your reply & confirmation. (I'll stop trying to figure that one out!) Given your comment above, just to clarify:
... and the fact that managed components require the I ask as Managed Components are a little different than the IDF components. Just want to make sure there are no known issues. This is of course assuming the same library is not installed as a |
Do they? I believe there is no need to integrate the entire |
Ah yes, one could in theory manually craft an "To add this component to your project, run:"
I tried your I copied a
Has that always worked? I thought I had tried that and the component was not actually downloaded with pio. Today it seems to have worked! (PlatformIO Core, version 6.1.15) yay! Thanks very much for the suggestion. For completeness for the future reader: one could also use the install script as well, but there's something really nice about the fixed release, no-clone, easy install of the Managed Components. Perhaps at some point, this functionality could be moved the |
Is there a way of running
idf.py reconfigure
from PlatformIO's interface? Or perhaps an easy way of accessingidf.py
?I have some components that I would like to bring down from the ESP-IDF Component Manager/Registry https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-component-manager.html and it requires me to run
idf.py reconfigure
from my project's directory (oridf.py add-dependency "espressif/mdns^1.2.0"
). I don't see an option to do this in the PIO UI. Is there something that I'm missing?The text was updated successfully, but these errors were encountered: