Skip to content

Is it currently possible to read touch sensitive pins in esp32-s2? #1263

Answered by mkellner
intGus asked this question in Q&A
Discussion options

You must be logged in to vote

Adding a few include paths to tools/mcconfig/make.esp32.mk allows the touch component to be built. If you have additional problems, please include the manifest.json file for the app so we can ensure you have the right includes and configuration.

diff --git a/tools/mcconfig/make.esp32.mk b/tools/mcconfig/make.esp32.mk
index ffc0dcfff..355ee796d 100644
--- a/tools/mcconfig/make.esp32.mk
+++ b/tools/mcconfig/make.esp32.mk
@@ -227,6 +227,8 @@ INC_DIRS = \
        $(IDF_PATH)/components/spi_flash/include \
        $(IDF_PATH)/components/tcpip_adapter/include \
        $(IDF_PATH)/components/tcpip_adapter \
+       $(IDF_PATH)/components/driver/touch_sensor/include \
+       $(IDF_PATH)/compone…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@intGus
Comment options

Answer selected by intGus
Comment options

You must be logged in to vote
4 replies
@intGus
Comment options

@phoddie
Comment options

@intGus
Comment options

@phoddie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants