Files
esp-matter/device_hal/device/esp32c2_devkit_m/esp_matter_device.cmake
T
Chirag Atal 4b7c107b0e es32c2: Support for esp32c2
This includes some memory optimisations.
Also corresponding changes required for idf 5.0.
2023-02-03 19:14:02 +05:30

12 lines
463 B
CMake

cmake_minimum_required(VERSION 3.5)
if (NOT ("${IDF_TARGET}" STREQUAL "esp32c2" ))
message(FATAL_ERROR "please set esp32c2 as the IDF_TARGET using 'idf.py set-target esp32c2'")
endif()
SET(device_type esp32c2_devkit_m)
SET(led_type gpio)
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")