Run idf.py ..... How?

User avatar
klaatu2
Posts: 16
Joined: Wed Feb 08, 2023 11:32 pm
Location: TEXAS

Run idf.py ..... How?

Postby klaatu2 » Mon Aug 26, 2024 5:20 pm

As you read through the ESP-IDF help pages, there is always reference to executing commands such as
Run `idf.py menuconfig`
Does this apply within VSC?
I tried entering this in VSC's terminal, not recognized.
Where/how are these idf.py command line commands used?

MicroController
Posts: 1725
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Run idf.py ..... How?

Postby MicroController » Tue Aug 27, 2024 5:50 pm

On a command line/terminal, you should run export.bat or export.sh from the IDF directory. This sets up IDF paths and commands for this terminal (temporary!).
Should work in a VSC terminal too.
Or, you can start VSC from a command line (or batch) after running export inside the same terminal. This way, VSC 'sees' the environment set up by export.bat/.sh right from the start.

Who is online

Users browsing this forum: Bing [Bot] and 317 guests