mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
fix(gat562-30s): disable QSPIFLASH in solo envs — pins conflict with joystick
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 <noreply@anthropic.com>
This commit is contained in:
@@ -129,8 +129,8 @@ build_flags =
|
|||||||
-D UI_SENSORS_PAGE=1
|
-D UI_SENSORS_PAGE=1
|
||||||
-D UI_HAS_JOYSTICK_UPDOWN=1
|
-D UI_HAS_JOYSTICK_UPDOWN=1
|
||||||
-D ADVERT_NAME='"@@MAC"'
|
-D ADVERT_NAME='"@@MAC"'
|
||||||
-D QSPIFLASH=1
|
|
||||||
-D ENV_INCLUDE_GPS=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_PACKET_LOGGING=1
|
||||||
; -D MESH_DEBUG=1
|
; -D MESH_DEBUG=1
|
||||||
build_src_filter = ${GAT562_30S_Mesh_Kit.build_src_filter}
|
build_src_filter = ${GAT562_30S_Mesh_Kit.build_src_filter}
|
||||||
@@ -161,9 +161,9 @@ build_flags =
|
|||||||
-D UI_SENSORS_PAGE=1
|
-D UI_SENSORS_PAGE=1
|
||||||
-D UI_HAS_JOYSTICK_UPDOWN=1
|
-D UI_HAS_JOYSTICK_UPDOWN=1
|
||||||
-D ADVERT_NAME='"@@MAC"'
|
-D ADVERT_NAME='"@@MAC"'
|
||||||
-D QSPIFLASH=1
|
|
||||||
-D ENV_INCLUDE_GPS=1
|
-D ENV_INCLUDE_GPS=1
|
||||||
-D DUAL_SERIAL=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_PACKET_LOGGING=1
|
||||||
; -D MESH_DEBUG=1
|
; -D MESH_DEBUG=1
|
||||||
build_src_filter = ${GAT562_30S_Mesh_Kit.build_src_filter}
|
build_src_filter = ${GAT562_30S_Mesh_Kit.build_src_filter}
|
||||||
|
|||||||
Reference in New Issue
Block a user