Repository navigation
Fix gtop i2c edge case - #128
Merged
Merged
Conversation
|
I looked at the Adafruit Shop, and did not find an Ultimate GPS with an I2C interface. |
Author
|
@FoamyGuy I have some further enhancements to GPS but want to wait for this to get approved. I've been running this new version for 5+ days with no issues. It resolves issues @T-Mosher and I had with the Gtop_I2C including memory allocation issues that would crash after a number of hours. This Fixes Issue #125 same issue as T-Mosher saw and said had not recurred with my new version -- same exact traceback footprint and refers to the same lines as the were back in Jan/Feb of this year. |
Author
|
I tweaked a couple of lines in Gtop_I2C to save an extra alloc in two places -- help reduce GC churn. I've been running for 24 hours with no issues. |
adafruit-adabot
pushed a commit
to adafruit/Adafruit_CircuitPython_Bundle
that referenced
this pull request
Aug 15, 2026
Updating https://github.com/adafruit/Adafruit_CircuitPython_EPD to 2.20.0 from 2.19.1: > Merge pull request adafruit/Adafruit_CircuitPython_EPD#112 from mikeysklar/feather-epd-grayscale4-1in54-breakout > Merge pull request adafruit/Adafruit_CircuitPython_EPD#108 from mikeysklar/feather-epd-grayscale4-2in66-6392 > Merge pull request adafruit/Adafruit_CircuitPython_EPD#110 from mikeysklar/feather-epd-grayscale4-2in13-6383 > Merge pull request adafruit/Adafruit_CircuitPython_EPD#111 from mikeysklar/feather-epd-grayscale4-4in2-6381 > Merge pull request adafruit/Adafruit_CircuitPython_EPD#105 from mikeysklar/feather-epd-grayscale4-2in13-breakout > Merge pull request adafruit/Adafruit_CircuitPython_EPD#106 from mikeysklar/feather-epd-grayscale4-2in9 > Merge pull request adafruit/Adafruit_CircuitPython_EPD#107 from mikeysklar/feather-epd-grayscale4-2in13-featherwing > Merge pull request adafruit/Adafruit_CircuitPython_EPD#104 from mikeysklar/ssd1680-grayscale4-gdey0213b74 Updating https://github.com/adafruit/Adafruit_CircuitPython_GPS to 3.11.10 from 3.11.9: > Merge pull request adafruit/Adafruit_CircuitPython_GPS#128 from grgrant/fix-gtop_i2c_edge_case Updating https://github.com/adafruit/Adafruit_CircuitPython_LIS331 to 1.1.0 from 1.0.25: > Merge pull request adafruit/Adafruit_CircuitPython_LIS331#10 from FoamyGuy/alternate_chip_id Updating https://github.com/adafruit/Adafruit_CircuitPython_NAU88L21 to 1.0.1 from 1.0.0: > Merge pull request adafruit/Adafruit_CircuitPython_NAU88L21#1 from FoamyGuy/left_justified_change Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1680 to 2.2.0 from 2.1.4: > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#46 from mikeysklar/ssd1683-4.2-6381 > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#45 from mikeysklar/grayscale4-2in13-bare-6383 > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#44 from mikeysklar/grayscale4-2in66-6392 > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#43 from mikeysklar/grayscale4-2in13-featherwing > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#42 from mikeysklar/grayscale4-2in9-featherwing > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#41 from mikeysklar/grayscale4-breakout-2in13 Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1681 to 2.1.0 from 2.0.5: > Merge pull request adafruit/Adafruit_CircuitPython_SSD1681#17 from mikeysklar/grayscale4-1in54-breakout Updating https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font to 2.4.3 from 2.4.2: > Merge pull request adafruit/Adafruit_CircuitPython_Bitmap_Font#76 from mtraver/glyph-cache-and-tests Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Emoji_Text to 1.0.5 from 1.0.4: > Merge pull request adafruit/Adafruit_CircuitPython_Display_Emoji_Text#7 from FoamyGuy/fix_xy_props Updating https://github.com/adafruit/Adafruit_CircuitPython_Pixelbuf to 2.1.0 from 2.0.12: > Merge pull request adafruit/Adafruit_CircuitPython_Pixelbuf#15 from giri256/feat/slice-single-color Updating https://github.com/adafruit/Adafruit_CircuitPython_PyBadger to 4.0.10 from 4.0.9: > Merge pull request adafruit/Adafruit_CircuitPython_PyBadger#74 from FoamyGuy/fix_docs_build
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.
@T-Mosher and I have been testing a fix for some edge cases in the I2c adafruit_gps class.
We discussed it while considering closing #123 as a subissue of 123 starting with this comment #123 (comment)
We've both tested this change for 24+ hours on our Adafruit Mini-GPS PA1010 and have had no crashes or misbehaviors.
Neither of us has an Ultimate GPS model to test on so it wouldn't hurt to have someone test there (although I can't remember if there is an Stemma I2C version of the Ultimate GPS).
I believe this is good to go.