报错信息
xtensa-esp32-elf-gcc
is not a full path and was not found in the PATH.
解决办法
- 找到esp-idf的export.sh路径,如:/home/xxx/esp/esp-idf/export.sh
- 打开 CLion -> Settings -> Build, Execution, Deployment -> Toolchain
- 选项栏Environment file添加/home/xxx/esp/esp-idf/export.sh