From b7bebd508b49ce1a74bbe604b3947db358bd68df Mon Sep 17 00:00:00 2001 From: Ethan-chen1234-zy Date: Wed, 8 Jul 2026 16:08:16 +0800 Subject: [PATCH] feat(rak_tap_v2): rebase onto upstream, add device_caps and README Signed-off-by: Ethan-chen1234-zy Co-authored-by: Cursor --- README.md | 1 + platformio.ini | 5 ++++- src/ui-touch/device_caps.h | 10 ++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ea50a2d..e8909fa 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ MeshCore fork via PlatformIO `lib_deps`. - LilyGo T-Deck / T-Deck Plus — env `LilyGo_TDeck_companion_radio_touch` - Heltec V4 + TFT + CHSC6x touch — env `heltec_v4_tft_companion_radio_usb_tcp_touch` +- RAK WisMesh Tap V2 (RAK3312) — env `rak_tap_v2_companion_radio_touch` ## Architecture diff --git a/platformio.ini b/platformio.ini index 2e7f8d2..63f2d4d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -625,6 +625,9 @@ lib_deps = densaugeo/base64 @ ~1.4.0 knolleary/PubSubClient @ ^2.8.0 +; ====================================================================== +; RAK WisMesh Tap V2 — ST7789 TFT + FT5x06 capacitive touch + SX1262. +; RAK3312 module (ESP32-S3, 16 MB Flash DIO, 8 MB Octal PSRAM). ; ====================================================================== [env:rak_tap_v2_companion_radio_touch] platform = platformio/espressif32@6.11.0 @@ -778,7 +781,7 @@ build_src_filter = +<../variants/rak_tap_v2/*.cpp> lib_deps = - https://github.com/ALLFATHER-BV/meshcomod.git#core-v1.16.4 + https://github.com/ALLFATHER-BV/meshcomod.git#core-v1.16.5 SPI Wire jgromes/RadioLib @ ^7.6.0 diff --git a/src/ui-touch/device_caps.h b/src/ui-touch/device_caps.h index 4183ddd..3823c45 100644 --- a/src/ui-touch/device_caps.h +++ b/src/ui-touch/device_caps.h @@ -60,6 +60,16 @@ #define CAP_OTA 1 // 16 MB flash, dual A/B app slots (see partitions_tdeck_touch.csv) #define CAP_LOCK_SCREEN 1 +#elif defined(HAS_RAK_TAP_V2) // ===== RAK WisMesh Tap V2 (ESP32-S3) ===== + #define CAP_TOUCH 1 // FT5x06 capacitive touch + #define CAP_ROTATABLE 0 // fixed landscape 320x240 + #define CAP_LARGE_SCREEN 0 + #define CAP_SD 0 + #define CAP_FILESYSTEM 1 // SPIFFS + tiles LittleFS + #define CAP_GPS 1 + #define CAP_OTA 1 + #define CAP_LOCK_SCREEN 1 + #else // ===== Heltec V4 TFT (default) ===== #define CAP_TOUCH 1 // capacitive touch panel #define CAP_ROTATABLE 1 // user can flip portrait/landscape