ESP-AT cmake error

ferrero
Posts: 7
Joined: Tue Nov 05, 2024 3:11 am

ESP-AT cmake error

Postby ferrero » Tue Nov 05, 2024 3:24 am

I installed IDF and supported tools, IDF examples works fine to me, it builds and configures. But when i trying to do the same with ESP-AT project i getting the cmake error.

I cloned the ESP-AT project, switched to the version 3.4.0.0 branch which is the release branch for my esp32s2 chip, then I did "python build.py install" and tried to configure the project through "python build.py menuconfig" but I got a cmake error:

Code: Select all

...........
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s2
Invalid field "dependencies:espressif/cmake_utilities:rules:[0]:if": Operator in only supports list of strings on the right side. Got "esp32c2"
CMake Error at esp-idf/tools/cmake/build.cmake:519 (message):
  ERROR: Manifest is not valid

Call Stack (most recent call first):
  esp-idf/tools/cmake/project.cmake:530 (idf_build_process)
  CMakeLists.txt:123 (project)

-- Configuring incomplete, errors occurred!
See also "C:/work/Source/SDK/ESP/esp-at/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
A fatal error occurred: idf.py build failed
I tried the different version of ESP-AT, tried to clone different versions of ESP-IDF for AT project manualy from git but nothing works, how could i fix that? Thanks!
Attachments
CMakeOutput.log
(134.76 KiB) Downloaded 48 times

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: ESP-AT cmake error

Postby esp-at » Tue Nov 05, 2024 9:24 am

could you please provide the full logs, includes `python build.py install ` outputs, i would like to take a look.

ferrero
Posts: 7
Joined: Tue Nov 05, 2024 3:11 am

Re: ESP-AT cmake error

Postby ferrero » Tue Nov 05, 2024 9:36 am

Here i tried to use 5.0.6 version of IDF and tools from online installer with preinstalled IDF. 3.4.0.0 version for AT. Its a full log file from esp-at/build/CMakeFiles, i dont know where to get more log information...
Attachments
CMakeOutput.log
(67.32 KiB) Downloaded 34 times
Output.txt
(44.72 KiB) Downloaded 36 times

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: ESP-AT cmake error

Postby esp-at » Wed Nov 06, 2024 2:44 am

Hello, the logs you provided are enough, it is a known issue and has already get fixed two month ago. please git pull the latest code on your branch and give it a try.

- fixed commit on master: https://jihulab.com/esp-mirror/espressi ... 23f03d1314
- fixed commit on release/v3.4: https://jihulab.com/esp-mirror/espressi ... 81fc2b84af

if the issue still exists, please provide the log of `git log -n 1`, and check this file `esp-at/main/idf_component.yml`, ensure it's same to https://github.com/espressif/esp-at/blo ... ponent.yml

ferrero
Posts: 7
Joined: Tue Nov 05, 2024 3:11 am

Re: ESP-AT cmake error

Postby ferrero » Wed Nov 06, 2024 5:34 am

Thanks, that solved my problem! I used the wrong commit of 3.4.0.0 AT release...

Who is online

Users browsing this forum: tjaffey and 15 guests