Hi,
I have successfully deployed a few of my own devices to Rainmaker using esp-idf version 4.4 by modifying Github examples.
I want to test out the PROP_FLAG_TIME_SERIES so I can store time series data in one of my projects, I have to clone the repo updates for this.
I have run into IDF COMPONENT errors even when I just try a vanilla "switch" example as part of the esp-rainmaker repo on Github.
I have done a recursive git clone of the esp-rainmaker Github repo and when I try and run idf.py build, idf.py menuconfig, or even just idf.py set-target esp32 I get the component errors below.
I can move forward when I set the ESP-IDF environment variable IDF_COMPONENT_MANAGER to 0 but I don't think this is ideal.
Help!?
Component Errors:
4 problems were found in the manifest file C:/ESP32/Projects/esp-rainmaker/components/esp_rainmaker\idf_component.yml:
Invalid manifest format
Invalid dependency format
Dependency version spec format is invalid
Unknown keys in dependency details: rules
Full Command Output:
C:\ESP32\Projects\esp-rainmaker\examples\switch>idf.py set-target esp32
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory 'c:\esp32\projects\esp-rainmaker\examples\switch\build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory c:\esp32\projects\esp-rainmaker\examples\switch\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 c:\esp32\projects\esp-rainmaker\examples\switch"...
-- Found Git: C:/Users/mike/.espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1")
-- Component directory C:/ESP32/Projects/esp-rainmaker/components/esp-insights does not contain a CMakeLists.txt file. No component will be added
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/mike/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/mike/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/mike/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
4 problems were found in the manifest file C:/ESP32/Projects/esp-rainmaker/components/esp_rainmaker\idf_component.yml:
Invalid manifest format
Invalid dependency format
Dependency version spec format is invalid
Unknown keys in dependency details: rules
CMake Error at C:/Espressif/frameworks/esp-idf-v4.4/tools/cmake/build.cmake:455 (message):
Call Stack (most recent call first):
C:/Espressif/frameworks/esp-idf-v4.4/tools/cmake/project.cmake:378 (idf_build_process)
CMakeLists.txt:16 (project)
-- Configuring incomplete, errors occurred!
See also "C:/ESP32/Projects/esp-rainmaker/examples/switch/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
IDF Component Manager Error with Github esp-rainmaker examples
-
- Posts: 4
- Joined: Thu Jul 14, 2022 12:14 pm
-
- Posts: 308
- Joined: Wed Feb 20, 2019 7:02 am
Re: IDF Component Manager Error with Github esp-rainmaker examples
Please execute this and try again:
pip install --upgrade idf-component-manager
pip install --upgrade idf-component-manager
-
- Posts: 4
- Joined: Thu Jul 14, 2022 12:14 pm
Re: IDF Component Manager Error with Github esp-rainmaker examples
Thank you. Upgrading the component manager was the fix.
Who is online
Users browsing this forum: No registered users and 18 guests