File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,10 @@ if(NOT CONFIG_ARDUINO_SELECTIVE_COMPILATION OR CONFIG_ARDUINO_SELECTIVE_OpenThre
318318 endif ()
319319endif ()
320320
321+ if (IDF_TARGET STREQUAL "esp32p4" )
322+ list (APPEND requires esp_driver_touch_sens)
323+ endif ()
324+
321325idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires} )
322326
323327if (NOT CONFIG_FREERTOS_HZ EQUAL 1000 AND NOT "$ENV{ARDUINO_SKIP_TICK_CHECK} " )
Original file line number Diff line number Diff line change 55 },
66 "requires" : [
77 " CONFIG_SOC_TOUCH_SENSOR_SUPPORTED=y"
8- ],
9- "targets" : {
10- "esp32p4" : false
11- }
8+ ]
129}
Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ void test_touch_read(void) {
135135#else
136136 TEST_ASSERT_GREATER_THAN (PRESSED_VALUE, touchRead (TOUCH_GPIOS[k]));
137137#endif
138+ }
138139#else // TOUCH V3
139-
140140// TEST RELEASE STATE
141141 touch_value_t touch_unpressed[sizeof (TOUCH_GPIOS)];
142142 for (int i = 0 ; i < sizeof (TOUCH_GPIOS); i++) {
You can’t perform that action at this time.
0 commit comments