From 03f9023a72b70f677713aa91f2b25537b546ae9c Mon Sep 17 00:00:00 2001 From: Jakub <106778416+MarekZegare4@users.noreply.github.com> Date: Wed, 10 Jun 2026 07:28:09 +0200 Subject: [PATCH] fix(gat562-30s): remove phantom QSPI flash defines from variant.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Board has no QSPI flash chip — EXTERNAL_FLASH_DEVICES/USE_QSPI were copied from RAK4631. The framework was initialising the QSPI peripheral on startup, locking P0.28/P0.30 (joystick UP/LEFT) as outputs. Removing these defines prevents QSPI init entirely. Co-Authored-By: Claude Sonnet 4.6 --- variants/gat562_30s_mesh_kit/variant.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/variants/gat562_30s_mesh_kit/variant.h b/variants/gat562_30s_mesh_kit/variant.h index 07fd3933..9f8c4a9b 100644 --- a/variants/gat562_30s_mesh_kit/variant.h +++ b/variants/gat562_30s_mesh_kit/variant.h @@ -203,10 +203,7 @@ extern "C" #define PIN_QSPI_IO2 28 // 22 #define PIN_QSPI_IO3 2 // 23 -// On-board QSPI Flash -// No onboard flash -#define EXTERNAL_FLASH_DEVICES IS25LP080D -#define EXTERNAL_FLASH_USE_QSPI +// No QSPI flash on this board — QSPI DIO pins are used by joystick and WS2812 #define GPS_ADDRESS 0x42 //i2c address for GPS