每次編譯的時候出現如下警告:
⚠️ 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,把路徑前面的小寫盤符改成大寫字母
我爲啥這麼閒。。。強迫症受不了警告。。