每次编译的时候出现如下警告:
⚠️ CMake Warning at D:/espressif/esp-idf-v4.0/tools/cmake/idf.cmake:14 (message):
IDF_PATH environment variable is different from inferred IDF_PATH.
Check if your project's top-level CMakeLists.txt includes the right
CMake files. Environment IDF_PATH will be used for the build.
Call Stack (most recent call first):
D:/espressif/esp-idf-v4.0/tools/cmake/project.cmake:7 (include)
CMakeLists.txt:5 (include)
解决方法:
文件->首选项->设置->用户区->扩展->ESP-IDF,把路径前面的小写盘符改成大写字母

我为啥这么闲。。。强迫症受不了警告。。
本文解决ESP-IDF在编译过程中出现的IDF_PATH环境变量警告问题,通过修改IDE设置中的路径大小写,成功消除警告。
2917

被折叠的 条评论
为什么被折叠?



