mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
5b383fb9f9
* Update ZAP file to include required clusters and commands * Regenerate ZAP * Fix build & pairing * Move OpenThread launch to examples
15 lines
692 B
CMake
15 lines
692 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
if (NOT ("${IDF_TARGET}" STREQUAL "esp32c3" ))
|
|
message(FATAL_ERROR "please set esp32c3 as the IDF_TARGET using 'idf.py set-target esp32c3'")
|
|
endif()
|
|
|
|
SET(device_hal_path $ENV{ESP_MATTER_DEVICE_PATH}/../../)
|
|
SET(device_name esp32c3_devkit_m)
|
|
SET(light_type ws2812)
|
|
SET(button_type hollow)
|
|
SET(used_driver light_driver button_driver)
|
|
SET(extra_components_dirs_append "${device_hal_path}/light_driver"
|
|
"${device_hal_path}/button_driver"
|
|
"$ENV{IDF_PATH}/examples/common_components/led_strip"
|
|
"$ENV{IDF_PATH}/examples/peripherals/rmt/led_strip/components")
|