Page 1 of 1

No toolchain file found error

Posted: Wed Aug 23, 2023 10:14 am
by Vineethad
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.

Re: No toolchain file found error

Posted: Wed Aug 23, 2023 12:59 pm
by ESP_frhr
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

Re: No toolchain file found error

Posted: Thu Aug 24, 2023 10:15 am
by Vineethad
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.

Re: No toolchain file found error

Posted: Thu Aug 24, 2023 10:43 am
by ESP_frhr
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

Re: No toolchain file found error

Posted: Fri Aug 25, 2023 12:23 pm
by Vineethad
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.

Re: No toolchain file found error

Posted: Fri Aug 25, 2023 5:05 pm
by ESP_frhr
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