[ESP] ESP-IDF CLion构建

报错信息

xtensa-esp32-elf-gcc   
is not a full path and was not found in the PATH.

解决办法

  1. 找到esp-idfexport.sh路径,如:/home/xxx/esp/esp-idf/export.sh
  2. 打开 CLion -> Settings -> Build, Execution, Deployment -> Toolchain
  3. 选项栏Environment file添加/home/xxx/esp/esp-idf/export.sh
posted @ 2023-05-29 14:53  空水  阅读(122)  评论(0编辑  收藏  举报