Hello,
what is the needed command line to compile the ESP23 project using the CMAKE not the idf.py
Thanks,
Building ESP32 using CMAKE
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Building ESP32 using CMAKE
Just use idf.py; it uses cmake under the hood so you get all the cmake advantages.
Re: Building ESP32 using CMAKE
actually, invoking idf.py from my tool is returning
'idf.py' is not recognized as an internal or external command,
operable program or batch file.
'idf.py' is not recognized as an internal or external command,
operable program or batch file.
Re: Building ESP32 using CMAKE
Hello, you should use the terminal window that gets setup upon installation of the framework.
Once you open the esp-idf-terminal all of the paths needed in order to run the IDF.py and such commands are added to the session and you can utilise all of the python scripts, at your disposal
Once you open the esp-idf-terminal all of the paths needed in order to run the IDF.py and such commands are added to the session and you can utilise all of the python scripts, at your disposal
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Building ESP32 using CMAKE
It sounds like you haven't installed esp-idf correctly (or haven't set it up correctly, indeed). If you can't run idf.py from the command line, multiple other things will be broken and using cmake manually is not going to save you. Suggest you figure out what's wrong with your install first.
Who is online
Users browsing this forum: No registered users and 110 guests