Files
firmware/variants
9c119da2e3 AG3352 GPS update for ThinkNode M5 (#12113)
* initial commit for L76K/AG3352 dual GNSS detection

* GPIO fixes according firmware demo

* resolve rabbits

* define PIN_GPS_SWITCH

* fix wake button and power pin

* clear response to avoid logging junk data

* increase IO07 samples to more reliably detect version

* ThinkNode M5: read the v1.0 GPS switch on GPIO10

On a v1.0 (L76K) board the GPS switch is sensed on GPIO10, not GPIO18.
Watching GPIO18 there meant flipping the switch did nothing. Pick the pin
by revision, as the GPS UART pins already are; m5HasAg3352 is set in
earlyInitVariant() before createGps() configures and starts watching it.

Tested on a v1.0 board: switch off and on now turns the GPS off and on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ThinkNode M5: trunk fmt variant.h

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 23:34:59 +00:00
..
2026-09-24 22:41:37 +00:00