mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
82ecf9fa05
button_driver: Add support for gpio and adc from esp-iot-solution. led_driver: Renamed light_driver to led_driver. app_driver: Using this restructured device_hal. app_driver: Added toggle based on button_driver.
13 lines
399 B
CMake
13 lines
399 B
CMake
include($ENV{ESP_MATTER_DEVICE_PATH}/esp_matter_device.cmake)
|
|
|
|
set(led_requires driver)
|
|
if ("${led_type}" STREQUAL "ws2812")
|
|
list(APPEND led_requires led_strip)
|
|
elseif ("${led_type}" STREQUAL "vled")
|
|
list(APPEND led_requires tft spidriver)
|
|
endif()
|
|
|
|
idf_component_register(SRC_DIRS ${led_type} utils
|
|
INCLUDE_DIRS include
|
|
PRIV_REQUIRES ${led_requires})
|