- set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/led_strip)
Here is my CMmake in the project folder:../main/Reciver.c:14:10: fatal error: led_strip.h: No such file or directory
#include "led_strip.h"
Code: Select all
# The following four lines of boilerplate have to be in your project's CMakeLists From Reviver
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/esp-idf-lib/components)
#set(EXTRA_COMPONENT_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../../components)
include($ENV{MDF_PATH}/project.cmake)
#include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(Node_reciver)
Code: Select all
idf_component_register(SRCS "Reciver.c"
INCLUDE_DIRS "."
REQUIRES mcommon mconfig mwifi mlink
)
Thanks
ESP-IDF 4.1 On Windows 10