Sysprogs forums › Forums › VisualGDB › Espressif – Getting Components from the ESP Registry
- This topic has 4 replies, 2 voices, and was last updated 1 day, 1 hour ago by arrow201.
-
AuthorPosts
-
January 26, 2025 at 11:58 #36330arrow201Participant
<div>Windows 10</div>
<div>VisualGDB 6.0R6 (build 5262)</div>
<div>Visual Studio 2022 v17.12.4</div>
<div>Espressif v5.3</div>
<div>Board: ESP32S3</div>
<div></div>
<div>I’m an Espressif noob and wondering if someone can layout the exact steps for obtaining components. I’ve read through many posts on the subject, but can’t find the exactly what to run and what to configure …and afraid of messing up my environment if i do it wrong(?)</div>
<div>I want to get the espressif/led_strip package at:</div>
<div>https://components.espressif.com/components/espressif/led_strip/versions/3.0.0</div>
<div></div>
<div>From what I can gather, my guess is:</div>
<div>1) Open up a command line and run:</div>
<div>C:\SysGCC\esp32\tools\idf-exe\1.0.3\idf.py add-dependency “espressif/led_strip^3.0.0″</div>
<div>First question is where i would run this from? The root of the folder where the project was created?</div>
<div>2) Create a idf_component.yml file? With contents</div>
<div>espressif/led_strip: “^3.0.0″</div>
<div>…or is this created from the run?</div>
<div></div>
<div>I saw this in a previous post:</div>
<div>>To enable the component manager in the project configuration phase, you must add the following variable in the >CMakeLists.txt of the project root:</div>
<div>></div>
<div>>set(ENV{IDF_COMPONENT_MANAGER} “1”)</div>
<div>></div>
<div>>In this way, in the configuration phase, when the idf_component.yml file is found in the main component, the dependency >is executed and the referenced component is downloaded:</div>
<div>Is this still needed?</div>
<div></div>
<div>3) After the steps, i think read somewhere then you have to next do a build to see the “managed_components” folder?</div>
<div></div>
<div>Any help appreciated …Thanks</div>- This topic was modified 2 days, 4 hours ago by arrow201.
January 26, 2025 at 12:03 #36334arrow201Participant<div></div>
<div>Windows 10</div>
<div>VisualGDB 6.0R6 (build 5262)</div>
<div>Visual Studio 2022 v17.12.4</div>
<div>Espressif v5.3</div>
<div>Board: ESP32S3</div>
<div></div>
<div>I’m an Espressif noob and wondering if someone can layout the exact steps for obtaining components. I’ve read through many posts on the subject, but can’t find the exactly what to run and what to configure …and afraid of messing up my environment if i do it wrong(?)</div>
<div>I want to get the espressif/led_strip package at:</div>
<div>https://components.espressif.com/components/espressif/led_strip/versions/3.0.0</div>
<div></div>
<div>From what I can gather, my guess is:</div>
<div>1) Open up a command line and run:</div>
<div>C:\SysGCC\esp32\tools\idf-exe\1.0.3\idf.py add-dependency “espressif/led_strip^3.0.0″</div>
<div>First question is where i would run this from? The root of the folder where the project was created?</div>
<div>2) Create a idf_component.yml file? With contents</div>
<div>espressif/led_strip: “^3.0.0″</div>
<div>…or is this created from the run?</div>
<div></div>
<div>I saw this in a previous post:</div>
<div>>To enable the component manager in the project configuration phase, you must add the following variable in the >CMakeLists.txt of the project root:</div>
<div>></div>
<div>>set(ENV{IDF_COMPONENT_MANAGER} “1”)</div>
<div>></div>
<div>>In this way, in the configuration phase, when the idf_component.yml file is found in the main component, the dependency >is executed and the referenced component is downloaded:</div>
<div>Is this still needed?</div>
<div></div>
<div>3) After the steps, i think read somewhere then you have to next do a build to see the “managed_components” folder?</div>
<div></div>
<div>Any help appreciated …Thanks</div>January 26, 2025 at 12:10 #36335arrow201ParticipantWhat mistake did do to get all these “<div>” ? 🙁
January 27, 2025 at 12:42 #36336Aloysius_PendergastParticipantJanuary 27, 2025 at 14:28 #36337arrow201ParticipantThank you. This is good info for creating you’re own and referencing it, but doesn’t have all the steps in detail if you want to get an existing component from the ESP Component Registry
https://components.espressif.com/For the “espressif/led_strip”, you’d have to do: C:\SysGCC\esp32\tools\idf-exe\1.0.3\idf.py add-dependency “espressif/led_strip^3.0.0″ …but I’m pretty sure there’s other steps needed for everything to be loaded into your project before doing a build.
-
AuthorPosts
- You must be logged in to reply to this topic.