Page 1 of 1

Run idf.py ..... How?

Posted: Mon Aug 26, 2024 5:20 pm
by klaatu2
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?

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

Posted: Tue Aug 27, 2024 5:50 pm
by MicroController
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.