Repository navigation
T-Echo Card: switch GPS LNA with GPS power, enable L76K config - #3668
Open
ktobias-dev wants to merge 1 commit into
Open
ktobias-dev wants to merge 1 commit into
ktobias-dev wants to merge 1 commit into
Conversation
- GPS_RF_EN (P0.29) drives the GNSS antenna LNA. It was set HIGH in initVariant() and never released, so the LNA stayed powered while GPS was off. It is now a RefCountedDigitalPin on TechoCardBoard, passed to MicroNMEALocationProvider as peripheral power: claimed in begin(), released in stop() (same pattern as heltec_tracker / heltec_t1). - Rename PIN_GPS_STANDBY to PIN_GPS_RF_EN to match LilyGo's pin name. - Define GPS_L76K so the provider applies $PCAS04,7 (GPS+BDS+GLONASS). LilyGo's reference firmware (T-Echo-Card examples/original_test) turns the GPS on/off by driving GPS_WAKE_UP and GPS_RF_EN together. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BGwbejvBTDKksm7PNq5bC4
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On the LilyGo T-Echo Card,
GPS_RF_EN(P0.29) powers the GNSS antenna LNA.initVariant()set it HIGH and never released it, so the LNA stayed powered even with GPS turned off.GPS_RF_ENis now aRefCountedDigitalPinonTechoCardBoard. It is passed toMicroNMEALocationProvideras peripheral power, so it is claimed inbegin()and released instop(). This follows the same pattern asheltec_trackerandheltec_t1.PIN_GPS_STANDBYis renamed toPIN_GPS_RF_ENto match LilyGo's pin name.GPS_L76Kis now defined, so the provider applies$PCAS04,7(GPS + BDS + GLONASS).LilyGo's reference firmware (T-Echo-Card
examples/original_test) turns GPS on and off by drivingGPS_WAKE_UPandGPS_RF_ENtogether.All changes are in
variants/lilygo_techo_card/.Testing
LilyGo_T-Echo_Card_companion_radio_blebuilds (RAM 62.6%, Flash 48.8%).LilyGo_T-Echo_Card_repeaterbuilds (RAM 14.4%, Flash 39.5%).🤖 Generated with Claude Code