From 867cf1a36b52459941a60a0c3a59e705467d1227 Mon Sep 17 00:00:00 2001 From: Bill Sideris Date: Fri, 22 Nov 2024 19:25:20 +0200 Subject: [PATCH 1/2] Add GT911 touch panel for tdeck --- .gitmodules | 3 +++ frozen/CircuitPython_GT911 | 1 + ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 160000 frozen/CircuitPython_GT911 diff --git a/.gitmodules b/.gitmodules index c01f23dbe6e1..14bf9852dc35 100644 --- a/.gitmodules +++ b/.gitmodules @@ -407,3 +407,6 @@ [submodule "frozen/Adafruit_CircuitPython_Wiznet5k"] path = frozen/Adafruit_CircuitPython_Wiznet5k url = https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k +[submodule "frozen/CircuitPython_GT911"] + path = frozen/CircuitPython_GT911 + url = https://github.com/rgrizzell/CircuitPython_GT911 diff --git a/frozen/CircuitPython_GT911 b/frozen/CircuitPython_GT911 new file mode 160000 index 000000000000..41b8faa2f404 --- /dev/null +++ b/frozen/CircuitPython_GT911 @@ -0,0 +1 @@ +Subproject commit 41b8faa2f40477a71b153d72a3d05a1e4cb4a577 diff --git a/ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk b/ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk index 369fba4e1a0d..862e5edb89ec 100644 --- a/ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk +++ b/ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk @@ -19,5 +19,6 @@ CIRCUITPY_PS2IO = 0 CIRCUITPY_RGBMATRIX = 0 CIRCUITPY_ROTARYIO = 0 -FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_FocalTouch +FROZEN_MPY_DIRS += $(TOP)/frozen/CircuitPython_GT911 FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Register +FROZEN_MPY_DIRS += $(TOP)/frozen/micropySX126X From 5d3b4de5edf153557ed6ceaff2cdf615ffb1479d Mon Sep 17 00:00:00 2001 From: Bill Sideris Date: Mon, 2 Dec 2024 22:22:53 +0200 Subject: [PATCH 2/2] Remove the radio lib from tdeck --- ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk b/ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk index 862e5edb89ec..6f64c53d707f 100644 --- a/ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk +++ b/ports/espressif/boards/lilygo_tdeck/mpconfigboard.mk @@ -21,4 +21,3 @@ CIRCUITPY_ROTARYIO = 0 FROZEN_MPY_DIRS += $(TOP)/frozen/CircuitPython_GT911 FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Register -FROZEN_MPY_DIRS += $(TOP)/frozen/micropySX126X