[solved] Cmake can't find compiler after running idf.py -C components create-component (IDF-2442)

voidzero
Posts: 6
Joined: Tue Jul 16, 2024 4:22 pm

Re: [solved] Cmake can't find compiler after running idf.py -C components create-component (IDF-2442)

Postby voidzero » Wed Jul 17, 2024 1:51 pm

Alright, I think I found my answer: the trick is to do this in a project directory.

I have done the following in the esp-idf command window:

Code: Select all

cd %userprofile%\esp
xcopy /e /i %IDF_PATH%\examples\get-started\hello_world hello_world
cd hello_world
idf.py set-target esp32c6
This works.

Who is online

Users browsing this forum: Bing [Bot], Melvin_v and 142 guests