esp-idf-lib/components/led_strip_spi/CMakeLists.txt

Mon, 03 Apr 2023 11:08:09 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 03 Apr 2023 11:08:09 +0200
changeset 11
bdc123ae7b49
parent 1
1c9894662795
permissions
-rw-r--r--

Added untested port of the Arduino APDS9930 library as component into the esp-idf-lib.

if(${IDF_TARGET} STREQUAL esp8266)
    set(req esp8266 log color esp_idf_lib_helpers)
else()
    set(req driver log color esp_idf_lib_helpers)
endif()

idf_component_register(
    SRCS led_strip_spi.c led_strip_spi_sk9822.c
    INCLUDE_DIRS .
    REQUIRES ${req}
)
target_compile_options(${COMPONENT_LIB} PRIVATE -Werror=override-init)

mercurial