82 Commits
Author SHA1 Message Date
ladyadaandLimor Fried e11c729ae1 Use shared GNSS position results in the GPS decoder
Keep SD logger CI coverage on Uno and Mega.

Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
2026-09-16 11:28:26 -04:00
ladyadaandLimor Fried 910ded451a Keep validated navigation parsing within AVR logger flash limits
Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
2026-09-15 21:57:40 -04:00
ladyadaandLimor Fried 9e037659d7 Use Adafruit SdFat for GPS shield logging
Create up to 10,000 distinct long filenames with exclusive creation, drain startup GPS command replies before writing, and update CI and installation guidance for the Adafruit fork.

Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
2026-09-15 12:54:24 -04:00
ladyadaandLimor Fried 1d07bab68a Support antenna status on newer CDTop GPS modules
Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
2026-09-15 11:56:03 -04:00
Limor "Ladyada" Fried d52338ac0b Merge pull request #175 from ladyada-eagleclaw/fix-logger-setup-stack
Release SD logger setup stack before logging
2026-09-15 11:02:00 -04:00
ladyadaandLimor Fried f4bc37093d Release SD logger setup stack before logging
Prevent setup from being inlined into main so SD initialization temporaries are released before loop runs. Uno disassembly confirms main no longer retains a 129-byte local frame and two saved registers.

Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
2026-09-15 10:47:52 -04:00
ladyadaandLimor Fried c8a9190793 Allow GPS commands to be stored in flash
Add an F()-compatible sendCommand overload and keep the SD logger command strings in flash. This saves 82 bytes of RAM on Uno.

Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
2026-09-15 10:45:00 -04:00
ladyadaandLimor Fried 7c76916d9f Limit the Uno RAM change to flash-stored Serial messages
Keep only the eight F() wrappers in shield_sdlog so RAM improvements can be reviewed one at a time. Defer the other memory changes. This step saves 90 bytes on Uno, leaving 83 bytes; compilation passes but runtime SD logging still needs more RAM.

Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
2026-09-15 10:17:23 -04:00
ladyadaandLimor Fried 957153e23c Reduce GPS logger RAM usage on Uno
Keep lookup tables, sentence IDs, logger messages and commands in flash; remove the unused SPI buffer. Keep setup separate so SD initialization does not retain its stack frame during logging.

Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
2026-09-15 10:05:03 -04:00
Carter Nelson e062c4b05e Merge pull request #132 from wijnanb/131_add_parse_for_antenna_stats
131 add parse for antenna stats
2022-07-18 14:34:14 -07:00
lady ada 22c229d7bf swap begin/wait for esp32 2022-07-07 21:39:22 -04:00
lady ada 7800a6e30f tweak header description 2021-02-07 16:54:12 -05:00
lady ada 8546ac5058 reduce excess newlines. fix header 2021-02-07 15:41:52 -05:00
lady ada 9ce89f0490 add starting text, ask for version last, fix baudrate to 115200 to match tutorial 2021-02-07 15:23:12 -05:00
Bert Wijnants 6abd6f3548 #131 add antenna status to parsing example 2021-02-04 22:49:50 +01:00
lady ada ea6dca6840 get more data 2020-07-19 12:35:42 -04:00
Edgar Bonet 939534d580 Correct handling of millis() rollover
millis() returns an unsigned long integer, and C++ guarantees that
arithmetics on this type work modulo (ULONG_MAX+1). This behavior
ensures that computing a delay as

    millis() - previousMillis

yields the correct result across millis() rollover events, as long as
the time actually elapsed is less than about 49.7 days.
2020-02-20 22:03:34 +01:00
Rick Sellens bc038a14cf Example updates 2020-01-29 09:33:26 -05:00
Owen Torres 17bb6d1ed2 Replace boolean with standard bool
This causes deprecation warnings when compiling with the STM32duino
Arduino core.
2020-01-27 18:54:28 +00:00
Rick Sellens c8d4e037e7 clanged files 2020-01-18 10:23:14 -05:00
Rick Sellens a41cbce062 Add build() example to GPS_Hardware_Serial_Timing.ino 2020-01-18 09:18:13 -05:00
ladyada 418d265a74 fix more skips 2020-01-17 16:11:19 -05:00
ladyada 2343743068 fix skips for sdlog 2020-01-17 16:09:47 -05:00
ladyada 2e9fdfd1fa add SD dep and only-skips 2020-01-17 15:58:18 -05:00
Lady Ada 7bb6e004a6 add SPI support - tested with TitanX1. 2019-11-16 19:06:07 -05:00
ladyada dd40ff0d95 parsingdemo 2019-10-13 20:22:14 -04:00
ladyada 2213c03439 more workin' on i2c 2019-10-09 16:51:17 -04:00
Ladyada c9632ab73c basic i2c demo 2019-08-30 02:21:23 -04:00
Limor "Ladyada" Fried 50bf6203b5 Merge pull request #69 from stoph/patch-2
Fix spelling error
2019-07-09 13:22:01 -04:00
Matt Goodrich efa9bfd857 Fix for #41 and #68 time parsing issues, based on fixes from HamishB 2019-05-16 11:55:42 -04:00
sellensr 5934857f24 Create .uno.test.skip
Uses Serial1, so it won't work with UNO, but does compile OK with ESP8266 (haven't tested)
2019-04-22 18:32:22 -04:00
Rick Sellens a553d5c374 Delete .DS_Store 2019-04-22 17:23:21 -04:00
Rick Sellens af4d406340 Delete .DS_Store 2019-04-22 15:47:01 -04:00
Rick Sellens 547b611daf Changed time_t to uint32_t
forgot time_t isn't defined for UNO
2019-04-22 15:35:05 -04:00
sellensr e121bb53c8 Track when sentence received
Improve the time information by tracking from when a sentence is received, rather than when it is parsed. Track last valid Date, Time, and Fix separately.
2019-04-20 13:51:00 -04:00
Matt Goodrich bf079ad2cd Skip tests for unsupported platforms; removed do nothing pieces 2019-03-14 17:05:30 -04:00
Matt Goodrich d7c9f848f6 Updated examples, split into HardwareSerial and SoftwareSerial; Removed NewSoftSerial 2019-03-14 14:22:28 -04:00
Stoph 23dfb49f4e Fix spelling error 2017-11-11 10:42:45 -05:00
driverblock 77fe348437 Add hardware serial locus erase example
Added GPS_HardwareSerial_LOCUS_Erase.
Increased timeout value on waitForSentence function
updated library version to 1.0.3
2017-08-02 11:24:18 -04:00
ladyada ea73a3a8f3 hardwareserial (non-interrupt) GPS LOCUS examplz 2017-08-01 23:27:56 -04:00
ladyada 3fbbc52add simplify Flora & Featherwing to just have HwSerial test code 2016-07-11 23:33:09 -04:00
ladyada 7dea4ac0e6 generalized 2016-05-17 16:57:18 -04:00
driverblock 6457807802 Didn't work. Fix.
This didn't work.  Changed mySerial to a #define
2015-10-08 13:39:03 -04:00
Tony DiCola 0aeb82c1b6 Update parsing example to show new long/lat degrees values. 2014-10-24 17:38:36 -07:00
Tony DiCola f319935824 Update shield_sdlog.ino 2014-08-18 11:12:19 -07:00
Tony DiCola f2545ed72a Clarify 10hz logging rate instead of 100 mhz 2014-08-15 18:40:11 -07:00
Fltbob 5b51214619 Update shield_sdlog.ino 2014-08-11 12:12:23 -04:00
Fltbob 203d43900c Update shield_sdlog.ino 2014-08-11 12:11:12 -04:00
Tony DiCola ffb19795df Fix race condition with calling lastNMEA twice in shield_sd example. 2014-08-08 13:18:10 -07:00
Tony DiCola 4b2006754e Fix #14 by fixing compilation for Arduino Due, and updating due_parsing example text to clarify connections. 2014-08-07 13:08:27 -07:00