-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Description
Environment
- Development Kit: [ESP32-DevKitC (Clone)]
- Kit version (for WroverKit/PicoKit/DevKitC): [v4]
- Module or chip used: [ESP32-WROVER-B]
- IDF version (run
git describe --tags
to find it): v4.4.0 - Build System: [idf.py]
- Compiler version (run
xtensa-esp32-elf-gcc --version
to find it): 8.4.0 - Operating System: [Linux]
- Using an IDE?: [Yes] Eclipse CDT 2021.03
- Power Supply: [USB]
Problem Description
I am trying to include esp rainmaker components in my project, I have cloned the rainmaker repo in a different directory, and copied the directories inside components. But when I tried to build I am getting the below error. I have done this before but haven't got this error. Please help.
Expected Behavior
Build success with no errors.
Actual Behavior
CMake Error at build/esp-idf/esp_rainmaker/CMakeFiles/git-data/grabRef.cmake:48 (file):
file failed to open for reading (No such file or directory):
/home/rajssss/Documents/Microcontroller/IICDC/smart-watch-work/max30102_test_arduino/build/esp-idf/esp_rainmaker/CMakeFiles/git-data/head-ref
Call Stack (most recent call first):
/home/rajssss/Documents/Microcontroller/esp/tools/esp-idf/tools/cmake/third_party/GetGitRevisionDescription.cmake:80 (include)
/home/rajssss/Documents/Microcontroller/esp/tools/esp-idf/tools/cmake/third_party/GetGitRevisionDescription.cmake:90 (get_git_head_revision)
components/esp_rainmaker/CMakeLists.txt:64 (git_describe)
ESP RainMaker Project commit: HEAD-HASH-NOTFOUND
Steps to reproduce
- Clone ESP RainMaker master to esp-rainmaker
- Copy all the folders from esp-rainmaker/components to project_root/components
- Create a required CMakeLists.txt file
- idf.py build
Code to reproduce this issue
Other items if possible
- sdkconfig file (attach the sdkconfig file from your project folder)
- elf file in the
build
folder (**note this may co
ntain all the code details and symbols of your project.**)
- coredump (This provides stacks of tasks.)