Using extra components esp-protocols with vscode extension

joel69100
Posts: 8
Joined: Sun Jun 07, 2020 1:21 pm

Using extra components esp-protocols with vscode extension

Postby joel69100 » Tue Aug 08, 2023 5:00 am

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

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: Using extra components esp-protocols with vscode extension

Postby ESP_bignacio » Wed Oct 11, 2023 8:27 am

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.

Who is online

Users browsing this forum: No registered users and 75 guests