您好,
我正在尝试创建新的自定义 AT 固件,以便我可以为 Amazon AWS 添加自己的 mqtt 证书和密钥。
我确保:
1. 我下载了 gnuwin32 并将二进制文件夹添加到路径变量
2. 我有 git
3. 我安装了 cmake
4. 我设置了 GNU 工具链 esp8266 并将 esp8266 文件夹添加到路径变量
5. 我下载了esp8266_RTOS_SDK 并设置 IDF_PATH="pathtothisfolder"
现在我做了什么:在 C:/Users/username/esp终端
中创建一个文件夹: [list=] git clone --recursive
https://github.com/espressif/esp- at.git cd esp-at git checkout release/v2.2.0.0_esp8266
python -m pip install -r requirements.txt
python build.py menuconfig
- esp8266
- wroom-02
- do not enable silence mode
现在,我收到以下错误:
代码:
全选CMake Warning (dev) at C:/Users/username/esp/ESP8266_RTOS_SDK/tools/cmake/component.cmake:437 (add_library):
Policy CMP0115 is not set: Source file extensions must be explicit. Run
"cmake --help-policy CMP0115" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
File:
C:/Users/username/esp/ESP8266_RTOS_SDK/components/spi_flash/src/par
tition.c
Call Stack (most recent call first):
C:/Users/username/esp/ESP8266_RTOS_SDK/components/spi_flash/CMakeLists.txt:11 (idf_component_register)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: C:/Users/username/esp/esp-at/build
Running make in directory c:\users\username\esp\esp-at\build
Executing "make -j 14 menuconfig"...
[ 0%] Creating directories for 'mconf-idf'
[ 0%] No download step for 'mconf-idf'
[ 0%] No update step for 'mconf-idf'
[ 0%] No patch step for 'mconf-idf'
[100%] No configure step for 'mconf-idf'
[100%] Performing build step for 'mconf-idf'
process_begin: CreateProcess(NULL, C:/Users/username/esp/esp-at/build/kconfig_bin/C:/Users/username/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/check-lxdialog.sh -ccflags, ...) failed.
C:/Users/username/esp/ESP8266_RTOS_SDK/tools/kconfig/Makefile:172: *** gemengde impliciete en statische patroonregels. Gestopt.
make[3]: *** [mconf-idf-prefix/src/mconf-idf-stamp/mconf-idf-build] Fout 2
make[2]: *** [CMakeFiles/mconf-idf.dir/all] Fout 2
make[1]: *** [CMakeFiles/menuconfig.dir/rule] Fout 2
make: *** [menuconfig] Fout 2
make failed with exit code 2
platform_name=ESP8266,module_name=WROOM-02
Please wait for the SDK download to finish...
idf.py build ret: 2
idf.py build failed
我错过了什么/做错了什么?
Windows 64 位设备