mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
touch_sensor: make touch_element compile on esp32s3
Closes: https://github.com/espressif/esp-idf/issues/9292
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
if(IDF_TARGET STREQUAL "esp32s2")
|
||||
idf_component_register(SRCS "touch_button_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
else()
|
||||
message(FATAL_ERROR "Touch button example only available on esp32s2 now")
|
||||
endif()
|
||||
idf_component_register(SRCS "touch_button_example_main.c"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES touch_element)
|
||||
|
@@ -1,6 +1,3 @@
|
||||
if(IDF_TARGET STREQUAL "esp32s2")
|
||||
idf_component_register(SRCS "waterproof_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
else()
|
||||
message(FATAL_ERROR "Touch element waterproof example only available on esp32s2 now")
|
||||
endif()
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES touch_element)
|
||||
|
@@ -1,6 +1,3 @@
|
||||
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()
|
||||
idf_component_register(SRCS "touch_elements_example_main.c"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES touch_element)
|
||||
|
@@ -1,6 +1,3 @@
|
||||
if(IDF_TARGET STREQUAL "esp32s2")
|
||||
idf_component_register(SRCS "touch_matrix_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
else()
|
||||
message(FATAL_ERROR "Touch matrix example only available on esp32s2 now")
|
||||
endif()
|
||||
idf_component_register(SRCS "touch_matrix_example_main.c"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES touch_element)
|
||||
|
@@ -1,6 +1,3 @@
|
||||
if(IDF_TARGET STREQUAL "esp32s2")
|
||||
idf_component_register(SRCS "touch_slider_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
else()
|
||||
message(FATAL_ERROR "Touch slider example only available on esp32s2 now")
|
||||
endif()
|
||||
idf_component_register(SRCS "touch_slider_example_main.c"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES touch_element)
|
||||
|
Reference in New Issue
Block a user