ESP-AWS-IOT Project Integration

longo92
Posts: 4
Joined: Tue Feb 28, 2023 8:02 am

ESP-AWS-IOT Project Integration

Postby longo92 » Tue Oct 24, 2023 8:31 am

Hi,
i want to integrate esp-aws-iot components in my project idf_component.yml (in order to use idf component manager), then i set the .yml like this:

Code: Select all

description: Project App

dependencies:

  posix_compat:
     git: https://github.com/espressif/esp-aws-iot
     version: "master"
     path: libraries/common/posix_compat
  
  logging:
     git: https://github.com/espressif/esp-aws-iot
     version: "master"
     path: libraries/common/logging
     
  coreMQTT:
    git: https://github.com/espressif/esp-aws-iot
    version: "master"
    path: libraries/coreMQTT

  backoffAlgorithm:
    git: https://github.com/espressif/esp-aws-iot
    version: "master"
    path: libraries/backoffAlgorithm 

  idf: ">=5.1"
The build system triggers an error, complaing that logging is not a module (indeed is a folder containing simple header files: https://github.com/espressif/esp-aws-io ... on/logging):
CMake Error at C:/Users/AlessandroLongobardi/esp/esp-idf/tools/cmake/component.cmake:155 (message):
Directory
'C:/REPOS/HUBWATER/FW-hubwater-esp32-1p0-sdk/examples/console_app/managed_components/logging'
does not contain a component.
Call Stack (most recent call first):
C:/Users/AlessandroLongobardi/esp/esp-idf/tools/cmake/build.cmake:256 (__component_add)
build_debug_hw01/managed_components_list.temp.cmake:17 (idf_build_component)
C:/Users/AlessandroLongobardi/esp/esp-idf/tools/cmake/build.cmake:543 (include)
C:/Users/AlessandroLongobardi/esp/esp-idf/tools/cmake/project.cmake:547 (idf_build_process)
CMakeLists.txt:12 (project)

Someone know how to face the problem?
Is there a way using idf component manager to simply download the logging folder without consider it as a component?
Other possible solutions?

Thanks a lot,
Alessandro

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 75 guests