From d6d16c26c892812cd27fad6fe942f2d0e388076d Mon Sep 17 00:00:00 2001 From: Jakub <106778416+MarekZegare4@users.noreply.github.com> Date: Wed, 10 Jun 2026 07:26:10 +0200 Subject: [PATCH] =?UTF-8?q?fix(gat562-30s):=20disable=20QSPIFLASH=20in=20s?= =?UTF-8?q?olo=20envs=20=E2=80=94=20pins=20conflict=20with=20joystick?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QSPI IO0=P0.30 and IO2=P0.28 are wired to joystick LEFT and UP on this board. QSPI init configures those pins as OUTPUT, blocking button reads. Disable QSPIFLASH so the joystick works; firmware falls back to internal flash storage. Co-Authored-By: Claude Sonnet 4.6 --- variants/gat562_30s_mesh_kit/platformio.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variants/gat562_30s_mesh_kit/platformio.ini b/variants/gat562_30s_mesh_kit/platformio.ini index 95aa9e6b..c178fe4b 100644 --- a/variants/gat562_30s_mesh_kit/platformio.ini +++ b/variants/gat562_30s_mesh_kit/platformio.ini @@ -129,8 +129,8 @@ build_flags = -D UI_SENSORS_PAGE=1 -D UI_HAS_JOYSTICK_UPDOWN=1 -D ADVERT_NAME='"@@MAC"' - -D QSPIFLASH=1 -D ENV_INCLUDE_GPS=1 + ; QSPIFLASH disabled: QSPI IO0/IO2 pins (P0.30/P0.28) conflict with joystick LEFT/UP ; -D MESH_PACKET_LOGGING=1 ; -D MESH_DEBUG=1 build_src_filter = ${GAT562_30S_Mesh_Kit.build_src_filter} @@ -161,9 +161,9 @@ build_flags = -D UI_SENSORS_PAGE=1 -D UI_HAS_JOYSTICK_UPDOWN=1 -D ADVERT_NAME='"@@MAC"' - -D QSPIFLASH=1 -D ENV_INCLUDE_GPS=1 -D DUAL_SERIAL=1 + ; QSPIFLASH disabled: QSPI IO0/IO2 pins (P0.30/P0.28) conflict with joystick LEFT/UP ; -D MESH_PACKET_LOGGING=1 ; -D MESH_DEBUG=1 build_src_filter = ${GAT562_30S_Mesh_Kit.build_src_filter}