Page 1 of 1

esp-at固件编译不通过

Posted: Sat Aug 03, 2024 11:06 am
by liu jinsong
为了使用esp32c2的esp-at,特意将IDF v5.2.0降级为5.0.6,仍然报错
正在执行任务: C:\Users\liujs\.espressif\tools\cmake\3.24.0\bin\cmake.exe -G=Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B=d:\esp-at-master\build -S=d:\esp-at-master

CMake Error at CMakeLists.txt:9 (string):
string no output variable specified


CMake Error at CMakeLists.txt:10 (string):
string sub-command STRIP requires two arguments.


CMake Error at CMakeLists.txt:14 (string):
string begin index: 9 is out of range 0 - 0


CMake Error at CMakeLists.txt:15 (string):
string sub-command STRIP requires two arguments.


CMake Error at CMakeLists.txt:16 (string):
string no output variable specified


-- silence:0, sdkconfig:D:/esp-at-master/module_config/module__default/sdkconfig.defaults
-- partition_table_dir: D:/esp-at-master
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
esp-at branch:
CMake Error at CMakeLists.txt:77 (if):
if given arguments:

"STREQUAL" "master"

Unknown arguments specified


-- Configuring incomplete, errors occurred!

Re: esp-at固件编译不通过

Posted: Mon Aug 05, 2024 12:18 pm
by esp-at
请参考下面文档编译 AT 工程:

https://docs.espressif.com/projects/esp ... le_it.html

Re: esp-at固件编译不通过

Posted: Tue Aug 06, 2024 8:01 am
by ESP_Sun
可以详细描述下具体在执行 https://docs.espressif.com/projects/esp ... tml#esp-at 文档的第几步出现了问题吗?

在本地编译 AT 时执行上述文档中第三步安装环境时是会自动下载对应版本的 esp-idf ,应该是不用做这一步的:”为了使用esp32c2的esp-at,特意将IDF v5.2.0降级为5.0.6,仍然报错“