esp-idf/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/main/CMakeLists.txt

7 wiersze
247 B
CMake

if(IDF_TARGET STREQUAL "esp32s2")
idf_component_register(SRCS "touch_elements_example_main.c"
INCLUDE_DIRS ".")
else()
message(FATAL_ERROR "Touch elements combination example only available on esp32s2 now")
endif()