esp-idf/examples/common_components/led_strip/CMakeLists.txt
2022-05-12 05:18:57 +00:00

10 lines
268 B
CMake

set(srcs)
if(CONFIG_SOC_RMT_SUPPORTED)
list(APPEND srcs "src/led_strip_rmt_dev.c" "src/led_strip_rmt_encoder.c")
endif()
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS "include" "interface"
PRIV_REQUIRES "driver")