No toolchain file found error

Vineethad
Posts: 55
Joined: Wed Jul 19, 2023 7:45 am

No toolchain file found error

Postby Vineethad » Wed Aug 23, 2023 10:14 am

Hello ,

I am currently working with ESPRESSIF IDE version-5.0.2. While I am building project for ESP32_C3 board the IDE is working fine. But when I am building project for ESP32_C6 board it is showing error like below attached file.
Please find me the solution.
Attachments
Screenshot 2023-08-23 153842.png
Screenshot 2023-08-23 153842.png (153.75 KiB) Viewed 2534 times

ESP_frhr
Posts: 8
Joined: Tue Jan 10, 2023 10:41 am

Re: No toolchain file found error

Postby ESP_frhr » Wed Aug 23, 2023 12:59 pm

Hello,

I think esp-idf v5.0 does not support esp32c6. The supported SoC for different esp-idf releases can be found here https://github.com/espressif/esp-idf#es ... patibility. I guess you can try to update to v5.1.
HTH

Vineethad
Posts: 55
Joined: Wed Jul 19, 2023 7:45 am

Re: No toolchain file found error

Postby Vineethad » Thu Aug 24, 2023 10:15 am

I have downloaded the ESP-IDF version 5.1.1 tool .But I couldn't find the ESP32-C6 module name in ESP-Target .
I mentioned the related file below.
Attachments
Screenshot 2023-08-24 154203.png
Screenshot 2023-08-24 154203.png (163.86 KiB) Viewed 2420 times

ESP_frhr
Posts: 8
Joined: Tue Jan 10, 2023 10:41 am

Re: No toolchain file found error

Postby ESP_frhr » Thu Aug 24, 2023 10:43 am

Hello,

it seems that the support was added in eclipse plugin v2.10.0. From the screenshot it looks like you are using eclipse plugin v2.9.1. Maybe you can try to follow the "How to get the latest version?" at https://github.com/espressif/idf-eclips ... ag/v2.10.0

HTH

Vineethad
Posts: 55
Joined: Wed Jul 19, 2023 7:45 am

Re: No toolchain file found error

Postby Vineethad » Fri Aug 25, 2023 12:23 pm

I have added the eclipse plugin v2.10.0. But while building the project, I am getting the cmake errors . I have attached the related file below.
Please find me the solution.

Thank you.
Attachments
ESP-IDF product information.png
ESP-IDF product information.png (211.26 KiB) Viewed 2290 times
Cmake.png
Cmake.png (214.32 KiB) Viewed 2290 times

ESP_frhr
Posts: 8
Joined: Tue Jan 10, 2023 10:41 am

Re: No toolchain file found error

Postby ESP_frhr » Fri Aug 25, 2023 5:05 pm

Hello,

the selected toolchain and target do not match as reported in the error message. I guess maybe the plugin takes the target from the stale sdkconfig, but it's hard say. Anyway the cmake command is obviously wrong. -DCMAKE_TOOLCHAIN_FILE refers to eps32c6, but -DIDF_TARGET is set to esp32. You can try to delete the C:\Users\SigmaUser\Desktop\esp\hello_world\build directory and also C:\Users\SigmaUser\Desktop\esp\hello_world\sdkconfig. My best guess is that some old configuration(sdkconfig, CMakeCache.txt) from the previous target(esp32) is still present in your project. Deleting the build directory and sdkconfig should hopefully solve this.

HTH

Who is online

Users browsing this forum: Baidu [Spider] and 64 guests