File tree 3 files changed +6
-5
lines changed
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
318
318
endif ()
319
319
endif ()
320
320
321
+ if (IDF_TARGET STREQUAL "esp32p4" )
322
+ list (APPEND requires esp_driver_touch_sens)
323
+ endif ()
324
+
321
325
idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires} )
322
326
323
327
if (NOT CONFIG_FREERTOS_HZ EQUAL 1000 AND NOT "$ENV{ARDUINO_SKIP_TICK_CHECK} " )
Original file line number Diff line number Diff line change 5
5
},
6
6
"requires" : [
7
7
" CONFIG_SOC_TOUCH_SENSOR_SUPPORTED=y"
8
- ],
9
- "targets" : {
10
- "esp32p4" : false
11
- }
8
+ ]
12
9
}
Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ void test_touch_read(void) {
135
135
#else
136
136
TEST_ASSERT_GREATER_THAN (PRESSED_VALUE, touchRead (TOUCH_GPIOS[k]));
137
137
#endif
138
+ }
138
139
#else // TOUCH V3
139
-
140
140
// TEST RELEASE STATE
141
141
touch_value_t touch_unpressed[sizeof (TOUCH_GPIOS)];
142
142
for (int i = 0 ; i < sizeof (TOUCH_GPIOS); i++) {
You can’t perform that action at this time.
0 commit comments