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

Fri, 07 Apr 2023 14:31:17 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 07 Apr 2023 14:31:17 +0200
changeset 21
df8564c9701e
parent 1
1c9894662795
permissions
-rw-r--r--

The esp-idf-lib apds9930 component is now working. In nvsio stop logging not updated values. Store gain and aglbit values in nvs.

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