Files
esp-matter/device_hal/device/esp32h2_devkit_c/esp_matter_device.cmake
T
2022-05-26 23:08:06 +08:00

13 lines
561 B
CMake

cmake_minimum_required(VERSION 3.5)
if (NOT ("${IDF_TARGET}" STREQUAL "esp32h2"))
message(FATAL_ERROR "please set esp32h2 as the IDF_TARGET using 'idf.py --preview set-target esp32h2'")
endif()
SET(device_type esp32h2_devkit_c)
SET(led_type ws2812)
SET(button_type hollow_button)
SET(extra_components_dirs_append "$ENV{ESP_MATTER_DEVICE_PATH}/../../led_driver"
"$ENV{ESP_MATTER_DEVICE_PATH}/../../button_driver/button"
"$ENV{IDF_PATH}/examples/common_components/led_strip")