[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

原文地址:https://www.cnblogs.com/jiangyibo/p/17440448.html