Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
1e6a8c7
hm how about trying adding the potential address to the driver..
brentru Mar 14, 2025
bd8095e
Prelim thoughts on SD API, tighten up FS APIs
brentru Mar 17, 2025
6f1b2d5
Add to FS for config file
brentru Mar 17, 2025
480e2c7
Refactoring within WS_SDCARD
brentru Mar 17, 2025
970901e
Move SD_CS_PIN into Boards
brentru Mar 17, 2025
de66744
Merge branch 'offline-mode' into offline-mode-autoconfig
brentru Mar 18, 2025
fcbd86a
Test with hardware, resolve spi_cfg issues
brentru Mar 18, 2025
bd2ec33
Starting to break out config file parsing so we can insert entry-poin…
brentru Mar 18, 2025
d3f0462
Break out components parsing
brentru Mar 19, 2025
c2f471f
add bus scan with storage for results, not hooked into ctroler
brentru Mar 19, 2025
e797fd4
Add controller hooks for managing the scan from another class
brentru Mar 19, 2025
b3a1edf
save work
brentru Mar 20, 2025
d9f6a36
putback old initbus, scan the non-alt bus by default, fixing the bug
brentru Mar 20, 2025
6d312c5
check scan results
brentru Mar 20, 2025
e17292f
Append scan results to config file?
brentru Mar 20, 2025
a5d8807
Hooks for detach/attach
brentru Mar 21, 2025
c4eba79
Refactor all ParseX component functions within ws_sdcard.h
brentru Mar 21, 2025
cef1bfc
save friday progress
brentru Mar 21, 2025
ebb36d6
Refresh USB for Pico if sd config was automatically found
brentru Mar 24, 2025
0b55693
add scan pb to config
brentru Mar 24, 2025
b7784df
add association within controller, TODO: remove association cruft in …
brentru Mar 24, 2025
f13a706
Associate driver with address, writeback to file
brentru Mar 25, 2025
8ce8b7b
Fix driver name issue
brentru Mar 25, 2025
aa557e2
Temporarily remove adding the device to the config file since it does…
brentru Mar 25, 2025
f83d534
add sensor types to components, (1)
brentru Mar 25, 2025
3686c6f
add sensor types to components, (2)
brentru Mar 25, 2025
ea3c17f
add all drivers
brentru Mar 26, 2025
f323fd0
use reverse map, unordered_map instead
brentru Mar 26, 2025
515ce9c
remove detach/attach issue
brentru Mar 26, 2025
f440847
remove the usb attach/detach and extra syncs
brentru Mar 26, 2025
f8b7610
Write back i2c device info to config file, doesn't work on boot yet
brentru Mar 27, 2025
0a208e2
Persistent init working from config
brentru Mar 28, 2025
8edabaa
Refactor parsing scan results into the buffer
brentru Mar 28, 2025
3b58f2e
Check for scan results within parse, log a warning
brentru Apr 2, 2025
161bacb
Reduce error string verbosity
brentru Apr 2, 2025
f778e46
working on hw
brentru Apr 2, 2025
387e66c
looking at autocfg->write->start
brentru Apr 3, 2025
01a4a72
Wow, uh, WSVs._fsv2 wasnt being called everywhere leading to a dangli…
brentru Apr 3, 2025
fa65af9
add use: fields
brentru Apr 3, 2025
40e80d9
check if scan == candidate
brentru Apr 4, 2025
77c9a53
autocfg->write->usb workflow implemented
brentru Apr 4, 2025
6018591
Load an existing file into the in-memory document and append to it as…
brentru Apr 4, 2025
4020e03
debugging existing file
brentru Apr 7, 2025
aaf718d
sync protos
brentru Apr 7, 2025
6c45959
put back old work without the no/auto/yes
brentru Apr 7, 2025
fbfcc08
debugging mux
brentru Apr 8, 2025
9fc3e4d
still debugging mux inclusion
brentru Apr 8, 2025
0a422f5
pair: working mux
brentru Apr 9, 2025
8614a6d
pair 2: remove debug code
brentru Apr 9, 2025
f579bbd
reenum adding cdc and msc doesnt reenum til the end
brentru Apr 9, 2025
d86a445
reviewing
brentru Apr 10, 2025
8313b66
trim controller
brentru Apr 10, 2025
f13f8b7
review modifications
brentru Apr 10, 2025
9205787
putback old sketch
brentru Apr 10, 2025
c58774c
doxygen:
brentru Apr 10, 2025
b7c89e5
Release for offline fix
brentru Apr 10, 2025
8baad48
clang
brentru Apr 10, 2025
4335c24
Fix - automatic scan backing out incorrectly after candidate list exh…
brentru Apr 10, 2025
765cb4a
build for esp32dev CLI
brentru Apr 10, 2025
0b072e2
clang
brentru Apr 10, 2025
ff80728
fix regression - analogio, digitalio
brentru Apr 11, 2025
8d17e93
Fix all regressions
brentru Apr 11, 2025
44f351d
update release-caller.yml
brentru Apr 11, 2025
24c4961
flip conditinals
brentru Apr 11, 2025
14fe05a
ignore offline
brentru Apr 11, 2025
7362592
Fix tyeth issue
brentru Apr 11, 2025
4a680ad
build targets for offline mode
brentru Apr 11, 2025
1b51d0c
Test should work now, revert ci change for offline
brentru Apr 11, 2025
0ece23b
test demo offline, nonet and netifaces
brentru Apr 11, 2025
385537f
nonet update
brentru Apr 11, 2025
2d0d4fe
fix the swapped classes
brentru Apr 11, 2025
4912417
Fix target - metro rp2350 tinyusb
brentru Apr 11, 2025
eda059e
fix OFFLINE requirement that is causing msc detach/attach after logging
brentru Apr 11, 2025
ec229aa
Restore demo
brentru Apr 11, 2025
375fd39
address @tyeth review
brentru Apr 14, 2025
5564777
Merge pull request #728 from adafruit/offline-mode-autoconfig
brentru Apr 14, 2025
07cbf00
Add updated UART.proto, signal.proto, bring in new GPS.proto
brentru May 28, 2025
b9eae36
Add uart/ component files
brentru May 28, 2025
1ffc861
Start hooking Hardware
brentru May 28, 2025
2e7c373
init uart serial
brentru May 28, 2025
6ee80cb
Update PB - e6b79ff4b165c6161a67994c217721281a20fe72
brentru May 28, 2025
b99e70c
Update PB, ConfigureSerial
brentru May 29, 2025
bdad070
Break out driver into base class and new pm25 class - WIP
brentru May 29, 2025
4a4d562
Remove /*************************************************************…
brentru May 29, 2025
1b9e973
meh attempt at initializing a driver
brentru May 29, 2025
c5dbb86
Rough in uart driver for reading sensor events, pm25 driver match
brentru May 30, 2025
dcb623b
Match 492e3a0..4e42234
brentru May 30, 2025
e60e887
Match 4e42234..5f3ec33
brentru May 30, 2025
8725ba4
Full Handle_Uartadded workflow implementation for PM25AQI
brentru May 30, 2025
e2d8233
eod, wrapping up code
brentru May 30, 2025
bbb14ab
Impl - UartRemove handler
brentru Jun 2, 2025
761a2b8
Impl - Uart Update() handler
brentru Jun 2, 2025
1b372c4
Add - uart-us100 driver
brentru Jun 3, 2025
0a16097
Add distance measurement getter for us-100
brentru Jun 3, 2025
53a26c6
debugging
brentru Jun 3, 2025
7216ffe
match cca78c8..09bf58e
brentru Jun 3, 2025
3d45338
fix handleUartAdd and publishing back to io, driver for us100 not wor…
brentru Jun 4, 2025
e229bd3
debug within us100
brentru Jun 4, 2025
81b3061
cleanup
brentru Jun 5, 2025
a3bf856
GPS - Match be3dc9d..850d73c
brentru Jun 13, 2025
d17f2b8
GPS - Initial commits
brentru Jun 13, 2025
b60c233
GPS - Routing towards DecodeGPSConfig
brentru Jun 16, 2025
c0aa18d
GPS - add processing
brentru Jun 17, 2025
baef12d
Set interface
brentru Jun 17, 2025
786c041
use adafruit gps
brentru Jun 17, 2025
5c30483
GPS - Query mediatek
brentru Jun 20, 2025
f0aefd9
GPS - fix build
brentru Jun 20, 2025
b43a8ba
GPS - tracking add bug
brentru Jun 20, 2025
51dea24
GPS -detecting mtk
brentru Jun 23, 2025
b699c06
GPS - attempt a driver approach for managing instances
brentru Jun 23, 2025
57a4396
GPS -refactor to use hwserial pattern
brentru Jun 23, 2025
09bfdcf
GPS - refactor away from driver approoach causing circular dependency
brentru Jun 24, 2025
f3286ef
GPS - break out config handler
brentru Jun 24, 2025
4b6666a
GPS - add pb with responses
brentru Jun 24, 2025
61e45a7
GPS - Full implementation of GPSConfig Handler
brentru Jun 24, 2025
de6a1dd
Match Protobuf - 478e51b..607702e
brentru Jun 25, 2025
f05f163
GPS - Build checksum for responses
brentru Jun 25, 2025
8b33ba7
GPS - Refactor BuildPtmkAck
brentru Jun 25, 2025
c07f8de
GPS - Refactor out GPSHardware
brentru Jun 25, 2025
551df54
GPS - begin read impl.
brentru Jun 25, 2025
bede6ab
GPS - Match Protobuf: 607702e..6811f7b
brentru Jun 25, 2025
6509167
GPS - Read/discard approach, add nmea rates to hardware
brentru Jun 25, 2025
77c553a
GPS - Circular buffer implementation for GPS reading and parsing
brentru Jun 26, 2025
522a62f
GPS - Fix circular buffer pop
brentru Jun 26, 2025
8b20e27
GPS - Implement KAT, debugging
brentru Jun 26, 2025
58623ba
GPS - Increase reliability within initial cmd sends
brentru Jun 27, 2025
881e47a
GPS - clang
brentru Jun 27, 2025
7d22453
GPS - discard parse errors
brentru Jun 27, 2025
30d301d
GPS - match 6811f7b..3a7d109
brentru Jun 27, 2025
89f2ddc
GPS - match 3a7d109..2aad669
brentru Jun 27, 2025
a2ab695
GPS - Start model GPS
brentru Jun 27, 2025
c4aca50
GPS - Fill RMC, datetime setters
brentru Jun 30, 2025
97d20ea
GPS - Fill GGA
brentru Jun 30, 2025
4722ee9
GPS- all fillers done, compiles
brentru Jun 30, 2025
71f707c
GPS - Parse GGA/RMC into Event
brentru Jul 1, 2025
402e75d
GPS - Match PB: 2aad669..d0fbb8d
brentru Jul 1, 2025
bc7d5ce
GPS - Publish back GPSevent
brentru Jul 1, 2025
528ff03
GPS - Fix bug, publishing multiple messages instead of one GPSevent
brentru Jul 1, 2025
c6924af
GPS - Refactor within update() for redundancy and memory checks
brentru Jul 1, 2025
9233d2e
GPS - Match PB d54396c..6b71dc3
brentru Jul 2, 2025
642733e
GPS - Update for PB
brentru Jul 2, 2025
320fa1e
GPS - I2C integration, Handle_GPSConfig not working yet
brentru Jul 2, 2025
c499080
GPS - handleConfig not working yet, paused on validation
brentru Jul 2, 2025
d6dbda4
GPS - Fix TwoWire not being passed properly
brentru Jul 7, 2025
5a5a6e7
Decodes init msg
brentru Jul 7, 2025
07f936c
GPS - Discard TwoWire buffer, refactoring within controller update()
brentru Jul 8, 2025
c9d9595
GPS - Remove redundant delay, update BuildPmtkAck() func
brentru Jul 8, 2025
6589b40
GPS - Fix pointer in update(), GPSEvent not filled yet
brentru Jul 8, 2025
43abe81
GPS - GPSEvent sent
brentru Jul 8, 2025
8ab6ecb
GPS - Update PBs
brentru Jul 8, 2025
e115785
GPS - store 1 GGA/RMC event within model FIFO
brentru Jul 8, 2025
232dc1a
GPS - Begin UBX implementation
brentru Jul 9, 2025
2330368
GPS - Match PB
brentru Jul 9, 2025
783ec2d
GPS - Handle Config progress on UBX
brentru Jul 9, 2025
bd4ec63
GPS - Comment out ACK
brentru Jul 10, 2025
d3afe8a
GPS - UBX Parsing OK
brentru Jul 10, 2025
9a9c57b
GPS - Refactor update() to remove funcs that should be called by the …
brentru Jul 10, 2025
5ccb7c7
GPS - Refactor GPSEvent and processing, datetime construction
brentru Jul 11, 2025
0376181
GPS - Fully refactor out common HAL to hardware and parsing to model
brentru Jul 11, 2025
f1a718f
GPS - Add processNMEA() with override, hacky but works
brentru Jul 11, 2025
3d0bb4d
Refactor away from SFE lib!
brentru Jul 21, 2025
96c5512
rm cruft from sfe detection
brentru Jul 21, 2025
6797eaf
GPS Sending event but empty for UBX
brentru Jul 22, 2025
dff9e98
GPS - Sends RMC event response
brentru Jul 22, 2025
0263274
Merge branch 'offline-mode' into migrate-api-v2-uart
brentru Jul 23, 2025
c92b020
Add Dep - Adafruit uBlox
brentru Nov 5, 2025
262f58e
Fix i2c.pb.h docstring
brentru Nov 5, 2025
f39dccd
Fix i2c.pb.h repeated proto?
brentru Nov 5, 2025
68206b8
Revert "Merge branch 'offline-mode' into migrate-api-v2-uart"
brentru Nov 6, 2025
1d9ab75
Add Dependency for UBX
brentru Nov 6, 2025
b26776b
Fix - ESP8266 Platform Build
brentru Nov 6, 2025
1625385
Fix - RP2x Platform
brentru Nov 6, 2025
924221b
Fix - SAMD platforms
brentru Nov 6, 2025
194491e
Fix - SAMD
brentru Nov 7, 2025
812b696
Fix - SAMD uart hardware.cpp
brentru Nov 7, 2025
f882ce2
Fix - SAMD, malformed ifdef guard
brentru Nov 7, 2025
83bceab
Fix - PyPortals have no 2ndary uart port
brentru Nov 7, 2025
2268c0f
Clang
brentru Nov 7, 2025
31b4fa7
Clang again
brentru Nov 7, 2025
31cf086
Clang again with Claude for fixing the h this time
brentru Nov 7, 2025
a5beddd
Doxy/Clang
brentru Nov 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ paragraph=Arduino application for Adafruit.io WipperSnapper
category=Communication
url=https://github.com/adafruit/Adafruit_Wippersnapper_Arduino
architectures=*
depends=SdFat - Adafruit Fork, Adafruit SPIFlash, Adafruit NeoPixel, ArduinoJson, Adafruit DotStar, Adafruit HDC302x, Adafruit INA219, Adafruit LTR329 and LTR303, Adafruit LTR390 Library, Adafruit MCP3421, Adafruit NAU7802 Library, Adafruit SleepyDog Library, Adafruit TMP117, Adafruit TinyUSB Library, Adafruit AHTX0, Adafruit BME280 Library, Adafruit BMP280 Library, Adafruit BMP3XX Library, Adafruit DPS310, Adafruit DS248x, Adafruit SCD30, Adafruit SGP30 Sensor, Adafruit SGP40 Sensor, Sensirion I2C SCD4x, Sensirion I2C SEN5X, Sensirion I2C SEN66, arduino-sht, Adafruit Si7021 Library, Adafruit MQTT Library, Adafruit MS8607, Adafruit MCP9808 Library, Adafruit MCP9600 Library, Adafruit MPL115A2, Adafruit MPRLS Library, Adafruit TSL2591 Library, Adafruit_VL53L0X, Adafruit VL53L1X, STM32duino VL53L4CD, STM32duino VL53L4CX, Adafruit_VL6180X, Adafruit PM25 AQI Sensor, Adafruit VCNL4020 Library, Adafruit VCNL4040, Adafruit VCNL4200 Library, Adafruit VEML7700 Library, Adafruit LC709203F, Adafruit LPS2X, Adafruit LPS28, Adafruit LPS35HW, Adafruit seesaw Library, Adafruit BME680 Library, Adafruit MAX1704X, Adafruit ADT7410 Library, Adafruit HTS221, Adafruit HTU21DF Library, Adafruit HTU31D Library, Adafruit PCT2075, hp_BH1750, ENS160 - Adafruit Fork, Adafruit BusIO, Adafruit Unified Sensor, Sensirion Core, Adafruit GFX Library, RTClib, StreamUtils, Adafruit SHT4x Library, Adafruit LED Backpack Library, Adafruit LiquidCrystal
depends=SdFat - Adafruit Fork, Adafruit SPIFlash, Adafruit NeoPixel, ArduinoJson, Adafruit DotStar, Adafruit HDC302x, Adafruit INA219, Adafruit LTR329 and LTR303, Adafruit LTR390 Library, Adafruit MCP3421, Adafruit NAU7802 Library, Adafruit SleepyDog Library, Adafruit TMP117, Adafruit TinyUSB Library, Adafruit AHTX0, Adafruit BME280 Library, Adafruit BMP280 Library, Adafruit BMP3XX Library, Adafruit DPS310, Adafruit DS248x, Adafruit SCD30, Adafruit SGP30 Sensor, Adafruit SGP40 Sensor, Sensirion I2C SCD4x, Sensirion I2C SEN5X, Sensirion I2C SEN66, arduino-sht, Adafruit Si7021 Library, Adafruit MQTT Library, Adafruit MS8607, Adafruit MCP9808 Library, Adafruit MCP9600 Library, Adafruit MPL115A2, Adafruit MPRLS Library, Adafruit TSL2591 Library, Adafruit_VL53L0X, Adafruit VL53L1X, STM32duino VL53L4CD, STM32duino VL53L4CX, Adafruit_VL6180X, Adafruit PM25 AQI Sensor, Adafruit VCNL4020 Library, Adafruit VCNL4040, Adafruit VCNL4200 Library, Adafruit VEML7700 Library, Adafruit LC709203F, Adafruit LPS2X, Adafruit LPS28, Adafruit LPS35HW, Adafruit seesaw Library, Adafruit BME680 Library, Adafruit MAX1704X, Adafruit ADT7410 Library, Adafruit HTS221, Adafruit HTU21DF Library, Adafruit HTU31D Library, Adafruit PCT2075, hp_BH1750, ENS160 - Adafruit Fork, Adafruit BusIO, Adafruit Unified Sensor, Sensirion Core, Adafruit GFX Library, RTClib, StreamUtils, Adafruit SHT4x Library, Adafruit LED Backpack Library, Adafruit LiquidCrystal, Adafruit uBlox
6 changes: 4 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
; PlatformIO Defaults
[platformio]
description = "Adafruit.IO WipperSnapper Firmware"
default_envs = adafruit_feather_esp32s3_tft, adafruit_magtag29_esp32s2, adafruit_feather_esp32s3, featheresp32s2, adafruit_feather_esp32s2_reversetft, adafruit_metro_esp32s2, adafruit_qtpy_esp32s2, adafruit_feather_esp32s3_reversetft, adafruit_feather_esp32s3_nopsram, adafruit_feather_esp32s2_tft, adafruit_qtpy_esp32, adafruit_qtpy_esp32c3, featheresp32, adafruit_qtpy_esp32s3_nopsram, featheresp32v2, huzzah, adafruit_pyportal_m4, adafruit_pyportal_m4_titano
default_envs = adafruit_feather_esp32s3_tft, adafruit_magtag29_esp32s2, adafruit_feather_esp32s3, featheresp32s2, adafruit_feather_esp32s2_reversetft, adafruit_metro_esp32s2, adafruit_qtpy_esp32s2, adafruit_feather_esp32s3_reversetft, adafruit_feather_esp32s3_nopsram, adafruit_feather_esp32s2_tft, adafruit_qtpy_esp32, adafruit_qtpy_esp32c3, featheresp32, adafruit_qtpy_esp32s3_nopsram, featheresp32v2, huzzah8266, adafruit_pyportal_m4, adafruit_pyportal_m4_titano


; Common Build Environment
Expand Down Expand Up @@ -92,6 +92,8 @@ lib_deps =
https://github.com/adafruit/RTClib.git
https://github.com/bblanchon/ArduinoStreamUtils.git
https://github.com/Sensirion/arduino-i2c-scd4x.git
adafruit/Adafruit GPS Library
https://github.com/adafruit/Adafruit_uBlox.git

; Common build environment for ESP32 platform
[common:esp32]
Expand Down Expand Up @@ -360,7 +362,7 @@ extra_scripts = pre:rename_usb_config.py
; ESP8266 Boards

; Adafruit Feather HUZZAH ESP8266
[env:huzzah]
[env:huzzah8266]
extends=common:esp8266
board = huzzah
build_flags = -DARDUINO_ESP8266_ADAFRUIT_HUZZAH
Expand Down
Loading
Loading