Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7cfe470

Browse files
P-R-O-C-H-Ypre-commit-ci-lite[bot]
andauthored
feat(touch): Support NG touch driver for P4 (#10448)
* feat(touch): Support NG touch driver for P4 * fix(ci): Touch test + IDF compilation fixes * fix(ci): remove debug prints from touch test * fix(ci): Fix touch test for esp32 * ci(pre-commit): Apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent 59ca4e2 commit 7cfe470

File tree

14 files changed

+643
-46
lines changed

14 files changed

+643
-46
lines changed

‎CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ set(CORE_SRCS
4545
cores/esp32/esp32-hal-timer.c
4646
cores/esp32/esp32-hal-tinyusb.c
4747
cores/esp32/esp32-hal-touch.c
48+
cores/esp32/esp32-hal-touch-ng.c
4849
cores/esp32/esp32-hal-uart.c
4950
cores/esp32/esp32-hal-rmt.c
5051
cores/esp32/Esp.cpp
@@ -317,6 +318,10 @@ if(NOT CONFIG_ARDUINO_SELECTIVE_COMPILATION OR CONFIG_ARDUINO_SELECTIVE_OpenThre
317318
endif()
318319
endif()
319320

321+
if(IDF_TARGET STREQUAL "esp32p4")
322+
list(APPEND requires esp_driver_touch_sens)
323+
endif()
324+
320325
idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires})
321326

322327
if(NOT CONFIG_FREERTOS_HZ EQUAL 1000 AND NOT "$ENV{ARDUINO_SKIP_TICK_CHECK}")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /