Closed Kampi closed 7 months ago
Hello @Kampi sorry for the late reply. Did you get resolution for the issue?
ESP-Insights needs to clone rmaker_common
on it's own. Simply run git submodule update --init --recursive
inside esp-insights
clone and the error should go away.
No it doesn´t work :(
@Kampi
I try to add ESP Insights to an ESP32-C3 project. I have added esp_diagnostics, esp_insights and esp-rainmaker (git clone --recursive https://github.com/espressif/esp-rainmaker.git) to the components directory of my project.
I think there is an issue with how you are trying to include the project.
First of all, you do not need to do explicit clone/copy of esp_insights
and esp_diagnostics
components to your project directory, as esp-insights
project is already is a submodule to esp-rainmaker
and doing recursive clone (or git submodule --init --recursive
later if you forgot the recursive clone) would just do.
Please refer this example for how to include the esp-insights with rainmaker: https://github.com/espressif/esp-rainmaker/blob/fe94cc6994c4d012bad3ce04d6ae07b616894714/examples/led_light/CMakeLists.txt#L12
Sorry, but I don´t get it... I execute the following steps:
esp-idf
)components
directorycd components
git clone https://github.com/espressif/esp-insights.git
cd esp-insights
git submodule update --init --recursive
I copy the CMake directives from the example to src
CMakeLists.txt`:
set(INSIGHTS_PATH ${CMAKE_CURRENT_LIST_DIR})
set(EXTRA_COMPONENT_DIRS ${INSIGHTS_PATH}/components)
And I get the error Error: Couldn't find the main target of the project!
.
I try to add ESP Insights to an ESP32-C3 project. I have added
esp_diagnostics
,esp_insights
andesp-rainmaker
(git clone --recursive https://github.com/espressif/esp-rainmaker.git) to thecomponents
directory of my project. During the build process the following error is thrown:How can I fix this?