Closed Sundareswar23 closed 1 year ago
Seems you may not have pulled the submodules using git submodule update --init --recursive
after pulling the latest code. Can you check once?
ok @shahpiyushv , what if i have added same package in idf_component.yml file the build is getting failed.
below is the component.yml file, provide us suggestion to update below file
## IDF Component Manager Manifest File
dependencies:
espressif/esp_rainmaker:
path: components/esp_rainmaker
git: https://github.com/espressif/esp-rainmaker.git
espressif/esp_schedule:
path: components/esp_schedule
git: https://github.com/espressif/esp-rainmaker.git
espressif/json_generator: ^1
espressif/json_parser: =1.0.0
espressif/qrcode:
version: ^0.1.0
rules:
- if: "idf_version >=5.0"
espressif/rmaker_common: ^1
esp-rainmaker itself is not available via package manager yet, but you can pull in other components as required via package manager. Can you elaborate what the exact issue is, for which you need these components via package manager?
@shahpiyushv I am using the rmaker_mqtt api's for my application to connect with our cloud.
till this commit https://github.com/espressif/esp-rainmaker/commit/c1b688511380008e98129b87b932cbb4c299257e rainmaker compiled correctly. with latest build it is getting failed.
@Sundareswar23 , that is not really an intended use case of the RainMaker's MQTT APIs. I would recommend using the underlying esp-mqtt component directly, which you can check out here which is part of esp-idf itself. If you still want to continue using esp-rainmaker, you may have to use it the same way as it is used in the standard RainMaker examples, which is without the package manager.
Meanwhile, we have also updated the rmaker_common component to 1.3.0 in component manager, just in case it helps you resolve your issues.
Answers checklist.
IDF / ESP32-Arduino version.
ESP-IDF v5.0.1-3-g886e98a2c1
Operating System used.
macOS
How did you build your project?
Command line with idf.py
Development Kit.
ESP32S3
What is the expected behavior?
to generate correct gpio binary
What is the actual behavior?
build fails in esp_rmaker_console.c
Steps to reproduce.
Build Logs.
More Information.
No response