* 报错如下:
CMake Error: The source "F:/xaioanpai/AiPi-Open-Kits/AiPi-Eyes_weather/CMakeLists.txt" does not match the source "C:/Users/XX/Desktop/AiPi-Open-Kits/AiPi-Eyes_weather/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
make: *** [../aithinker_Ai-M6X_SDK/project.build:72: build] Error 1
* 解决方式:
** 按照报错路径找到CMakeLists.txt,我这里的路径为---->F:/xaioanpai/AiPi-Open-Kits/AiPi-Eyes_weather/CMakeLists.txt
** 找到这个文件并将其删掉,之后在vsCode终端执行make命令即可编译。
* 执行make flash COMX=COM+端口号,即可下载成功下载固件。