环境搭好之后,打不开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 satisfied.
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
ESP8266 ESP-AT项目问题
Moderator: ESP_XCGuang
Re: ESP8266 ESP-AT项目问题
你好,请问你是修改了 /home/esp/esp-at/main/interface/hspi/Kconfig 这个文件了么,看编译 log 这个文件有语法的错误~~~
Re: ESP8266 ESP-AT项目问题
您好,补充一下,ESP-AT 工程在 v2.2.0.0 版本之后就只会 fix bug。如果您是从 master 分支下拉去的源码,请切换到 release/v2.2.0.0_esp8266 分支拉取源码~
-
- Posts: 8
- Joined: Fri Jun 25, 2021 9:55 am
-
- Posts: 8
- Joined: Fri Jun 25, 2021 9:55 am
Re: ESP8266 ESP-AT项目问题
git clone https://gitee.com/EspressifSystems/esp-at.git从这里拉的代码,然后./build.py menuconfig选好参数后,自动拉的esp-idf
这样有问题么?
-
- Posts: 8
- Joined: Fri Jun 25, 2021 9:55 am
Re: ESP8266 ESP-AT项目问题
git clone -b release/v2.2.0.0_esp8266 --recursive https://github.com/espressif/esp-at.git
Who is online
Users browsing this forum: No registered users and 26 guests