Hello
I would like to know how to use extra components such as esp-protocols repository (https://github.com/espressif/esp-protocols) with the vscode IDF extension.
Where to add the path to the repo so that my project can find and use the components ? I don't found the information.
Thanks
Joel
Using extra components esp-protocols with vscode extension
-
- Posts: 229
- Joined: Wed May 02, 2018 12:12 pm
Re: Using extra components esp-protocols with vscode extension
You can try to use the ESP-IDF: Show Component Registry command to open the IDF Component manager website inside vscode. Find the asp-protocols components you want like esp_modem. Click the install button. this will update your src/main/idf_component.yml file.
Use the component in your project. When you build the project, the build system will call the component manager python package and download the component into a managed_components directory in your project.
You can also manually download the component directory and reference into your project using the CMakeLists.txt to specify this component.
Links for reference:
https://docs.espressif.com/projects/esp ... nager.html
https://docs.espressif.com/projects/esp ... ists-files
Hope this helps. Let us know how it goes.
Use the component in your project. When you build the project, the build system will call the component manager python package and download the component into a managed_components directory in your project.
You can also manually download the component directory and reference into your project using the CMakeLists.txt to specify this component.
Links for reference:
https://docs.espressif.com/projects/esp ... nager.html
https://docs.espressif.com/projects/esp ... ists-files
Hope this helps. Let us know how it goes.
Who is online
Users browsing this forum: No registered users and 59 guests