Skip to content

Fix for GPS not using pins defined in variant.h if set as "Pin 0" through app. ONLY WORKING ON PROMICRO#8951

Closed
macvenez wants to merge 2 commits into
meshtastic:developfrom
Meshlink-Team:fix_gps
Closed

Fix for GPS not using pins defined in variant.h if set as "Pin 0" through app. ONLY WORKING ON PROMICRO#8951
macvenez wants to merge 2 commits into
meshtastic:developfrom
Meshlink-Team:fix_gps

Conversation

@macvenez

@macvenez macvenez commented Dec 12, 2025

Copy link
Copy Markdown
Contributor

Don't accept as it will break GPS on all boards but nrf52_promicro_tcxo

As discussed on discord here this should fix the GPS issue.

Tested and working on nrf52_promicro_tcxo won't work on other boards as pins are swapped now

Had to swap them again in promicro. How do we want to go with the other boards?

@Xaositek Xaositek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a small concern that the variables were also renamed in the PR; this would make these devices an exception to the codebase. I think we need to keep with convention and have them all unified. If we need to flip them in order for this to work, that's completely acceptable.

Before:
PIN_GPS_TX
PIN_GPS_RX

After:
GPS_RX_PIN
GPS_TX_PIN

@Xaositek

Copy link
Copy Markdown
Contributor

Also let's confirm I think we have this done? Or what does it materially change?
#8772
#8760

@NomDeTom

Copy link
Copy Markdown
Collaborator

I need to check this properly. The premise is correct - the #define is incorrect and not getting picked up properly. However, swapping the pins needs investigating.

@github-actions github-actions Bot added the Stale Issues that will be closed if not triaged. label Feb 1, 2026
@github-actions github-actions Bot closed this Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Issues that will be closed if not triaged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants