ESP Insight not recognized by Compiler
Posted: Tue Mar 14, 2023 11:40 am
Hello All,
I am trying to integrate the ESP Insight feature into one of my projects but apparently whenever I am building the project it never recognizes the Insight header file esp_insight.h file I have made all the necessary addition in my root cmake file and my env variable and downloaded the necessary repo but I am unable to build my code
Can anyone Help me in identifying the problems ??
I am trying to integrate the ESP Insight feature into one of my projects but apparently whenever I am building the project it never recognizes the Insight header file esp_insight.h file I have made all the necessary addition in my root cmake file and my env variable and downloaded the necessary repo but I am unable to build my code
- [code]cmake_minimum_required(VERSION 3.16)
- if(DEFINED ENV{INSIGHTS_PATH})
- set(INSIGHTS_PATH $ENV{INSIGHTS_PATH})
- else()
- set(INSIGHTS_PATH ${CMAKE_CURRENT_LIST_DIR}/../..)
- endif(DEFINED ENV{INSIGHTS_PATH})
- # Add RainMaker components
- set(EXTRA_COMPONENT_DIRS ${INSIGHTS_PATH}/components ${INSIGHTS_PATH}/examples/common)
- set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/protocols/modbus/mb_example_common)
- include($ENV{IDF_PATH}/tools/cmake/project.cmake)
- project(Feb_RS485)[/code]
Can anyone Help me in identifying the problems ??