From 92e6e57e2ed700c25e0c72248f8a1e0504c19bd9 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Wed, 5 Jun 2024 12:55:05 +0300 Subject: [PATCH] feat(esp32-s3-box): touch screen controller --- boards/esp32-s3-box/board.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/boards/esp32-s3-box/board.json b/boards/esp32-s3-box/board.json index e1bc3e9..3af1ae5 100644 --- a/boards/esp32-s3-box/board.json +++ b/boards/esp32-s3-box/board.json @@ -45,10 +45,11 @@ "$gpio5": { "target": ["GPIO5", "lcd1:CS"] }, "$gpio6": { "target": ["GPIO6", "lcd1:MOSI"] }, "$gpio7": { "target": ["GPIO7", "lcd1:SCK"] }, - "$gpio48": { "target": ["GPIO48", "lcd1:RST"] }, + "$gpio48": { "target": ["GPIO48", "lcd1:RST", "touch1:RST"] }, - "$gpio8": { "target": "GPIO8" }, // SDA - "$gpio18": { "target": "GPIO18" } // SCL + "$gpio3": { "target": ["GPIO3", "touch1:INT"] }, + "$gpio8": { "target": ["GPIO8", "touch1:SDA"] }, // SDA + "$gpio18": { "target": ["GPIO18", "touch1:SCL"] } // SCL }, "displays": [ @@ -61,7 +62,11 @@ "pixelWidth": 320, "pixelHeight": 240, "flipVertical": true, - "chip": "ili9342c" + "chip": "ili9342c", + "touch": { + "id": "touch1", + "chip": "tt21100" + } } ],