"No Toolchain found for Target ESP32C3" / No compilers installed
Posted: Fri May 21, 2021 3:30 pm
I spent several hours trying to install the ESP-IDF under Windows 10. I followed the documentation exactly, except the documentation differs from what I actually see. I have tried online and offline installers. When the installation finishes I get a menu which says Completing the ESP-IDF Tools Setup Wizard and allows me to chose Run ESP-IDF Eclipse and/or Register the ESP-IDF tools
I do not see the menu described in the documentation. I have tried running the powershell and cmd as per the menu. When I ran those commands I got variations of
"Not using an unsupported version of tool cmake found in PATH: 3.17.3."
I modified my path so that the path to the IDF was first and those errors went away. I was then able to compile hello_world for esp-32 and esp-32s2. If I attempt
idf.py set-target esp32c3 (https://docs.espressif.com/projects/esp ... .html#id11 )
I get
Usage: C:\Users\bjpic\Desktop\esp-idf-5\tools\idf.py set-target [OPTIONS] {esp32|esp32s2}
Try 'C:\Users\bjpic\Desktop\esp-idf-5\tools\idf.py set-target --help' for help.
Error: Invalid value for '{esp32|esp32s2}': 'esp32c3' is not one of 'esp32', 'esp32s2'.
Running ESP-IDF Eclipse yields similar results except for esp32c3 I get
Build not configured correctly
and for esp32/esp32s2 it compiles, however, my include files and all the assorted things in them are flagged as unresolved. I consider this a separate issue.
Having done a search of my PC, there are no compilers for ESP32-C3 present.
Can somebody please help.
Thanks.
I do not see the menu described in the documentation. I have tried running the powershell and cmd as per the menu. When I ran those commands I got variations of
"Not using an unsupported version of tool cmake found in PATH: 3.17.3."
I modified my path so that the path to the IDF was first and those errors went away. I was then able to compile hello_world for esp-32 and esp-32s2. If I attempt
idf.py set-target esp32c3 (https://docs.espressif.com/projects/esp ... .html#id11 )
I get
Usage: C:\Users\bjpic\Desktop\esp-idf-5\tools\idf.py set-target [OPTIONS] {esp32|esp32s2}
Try 'C:\Users\bjpic\Desktop\esp-idf-5\tools\idf.py set-target --help' for help.
Error: Invalid value for '{esp32|esp32s2}': 'esp32c3' is not one of 'esp32', 'esp32s2'.
Running ESP-IDF Eclipse yields similar results except for esp32c3 I get
Build not configured correctly
and for esp32/esp32s2 it compiles, however, my include files and all the assorted things in them are flagged as unresolved. I consider this a separate issue.
Having done a search of my PC, there are no compilers for ESP32-C3 present.
Can somebody please help.
Thanks.