Espressif – Getting Components from the ESP Registry

Sysprogs forums Forums VisualGDB Espressif – Getting Components from the ESP Registry

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36330
    arrow201
    Participant

    <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&gt;
    <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.
    #36334
    arrow201
    Participant

    <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>

    #36335
    arrow201
    Participant

    What mistake did do to get all these “<div>” ? 🙁

    #36336
    Aloysius_Pendergast
    Participant
    #36337
    arrow201
    Participant

    Thank 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.

     

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.