ESP32 adf出现以下错误是怎么回事

今日头条

1100人已加入

描述

G:\ESP32\play_mp3>idf.py menuconfig

Checking Python dependencies...

Python requirements from G:\ESP32\esp-idf\requirements.txt are satisfied.

Executing action: menuconfig

Running cmake in directory g:\esp32\play_mp3\build

Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DWARN_UNINITIALIZED=1 -DCCACHE_ENABLE=1 g:\esp32\play_mp3"...

Warn about uninitialized values.

fatal: not a git repository (or any of the parent directories): .git

-- Found Git: F:/git/Git/cmd/git.exe (found version "2.27.0.windows.1")

-- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32

-- IDF_TARGET not set, using default target: esp32

-- ccache will be used for faster recompilation

-- The C compiler identification is GNU 8.2.0

-- The CXX compiler identification is GNU 8.2.0

-- The ASM compiler identification is GNU

-- Found assembler: G:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe

-- Check for working C compiler: G:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe

-- Check for working C compiler: G:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: G:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe

-- Check for working CXX compiler: G:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.

-- Project version: 1

-- Building ESP-IDF components for target esp32

CMake Erro

 

一般出现上述问题据经验看,应该大概率是环境安装有问题,我测试了IDF4+ADF master分支上的是可以进去的;idf是可以的去的,adf不可以就要注意配置ADF_PATH或者是把adf里面的cmacklist 的idf path注释掉。会重定向idf path

 

配置

 

配置


 

 

           ymf
 

打开APP阅读更多精彩内容
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

全部0条评论

快来发表一下你的评论吧 !

×
20
完善资料,
赚取积分