mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
15 lines
500 B
CMake
15 lines
500 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
if(NOT ("${IDF_TARGET}" STREQUAL "esp32" ))
|
|
message(FATAL_ERROR "please set esp32 as the IDF_TARGET using 'idf.py set-target esp32'")
|
|
endif()
|
|
|
|
SET(device_hal_path $ENV{ESP_MATTER_DEVICE_PATH}/../../)
|
|
SET(device_name esp32_devkit_c)
|
|
SET(light_type gpio)
|
|
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")
|
|
|
|
|