环境搭好之后,打不开menuconfig,但是./build.py all 可以正常编译通过。
这个情况怎么办?下面是错误信息
:/home/esp/esp-at# ./build.py menuconfig
module_name ESP8266_1MB
platform_name=ESP8266,module_name=ESP8266_1MB
Checking Python dependencies...
Python requirements from /home/esp/esp-at/esp-idf/requirements.txt are sa
tisfied.
Executing action: menuconfig
Running make in directory /home/esp/esp-at/build
Executing "make -j 4 menuconfig"...
[100%] Built target mconf-idf
Loading defaults file /home/esp/esp-at/module_config/module_esp8266_1mb/sdkconfig.defaults...
/home/esp/esp-at/main/interface/hspi/Kconfig:10: syntax error
/home/esp/esp-at/main/Kconfig:6: missing end statement for this entry
/home/esp/esp-at/main/Kconfig:1: missing end statement for this entry
/home/esp/esp-at/esp-idf/Kconfig:198: missing end statement for this entry
/home/esp/esp-at/main/interface/hspi/Kconfig:9: invalid statement
/home/esp/esp-at/main/interface/hspi/Kconfig:10: unexpected option "prompt"
/home/esp/esp-at/main/interface/hspi/Kconfig:11: unexpected option "depends"
/home/esp/esp-at/main/interface/hspi/Kconfig:12: unexpected option "default"
/home/esp/esp-at/main/interface/hspi/Kconfig:28: unexpected end statement
/home/esp/esp-at/main/Kconfig:16: unexpected end statement
/home/esp/esp-at/main/Kconfig:343: unexpected end statement
/home/esp/esp-at/esp-idf/Kconfig:200: unexpected end statement
CMakeFiles/menuconfig.dir/build.make:57: recipe for target 'CMakeFiles/menuconfig' failed
make[3]: *** [CMakeFiles/menuconfig] Error 1
CMakeFiles/Makefile2:337: recipe for target 'CMakeFiles/menuconfig.dir/all' failed
make[2]: *** [CMakeFiles/menuconfig.dir/all] Error 2
CMakeFiles/Makefile2:344: recipe for target 'CMakeFiles/menuconfig.dir/rule' failed
make[1]: *** [CMakeFiles/menuconfig.dir/rule] Error 2
Makefile:253: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
make failed with exit code 2
idf.py build ret: 2
idf.py build failed