Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
807 commits
Select commit Hold shift + click to select a range
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
2cada66
Merge pull request #832 from adafruit/migrate-api-v2-uart
brentru Nov 7, 2025
091b075
Match - api-v2 ac96635312679985c3c5206c8f1186a4dbb6bcef
brentru Nov 17, 2025
7a3e34d
[checkin] Simplify model<->app complexity, remove calling convention …
brentru Nov 17, 2025
c8bf8a2
[app] Remove display component, make adapter funcs pure virtual, refa…
brentru Nov 18, 2025
d07504f
[Refactor] digitalio, ds18x20
brentru Nov 18, 2025
5b82b50
[Refactor] Digitalio, pixels, analogio
brentru Nov 18, 2025
d6a6ce7
[Refactor] Uart, PWM
brentru Nov 18, 2025
840a40a
[Refactor] Analogio again, gps, i2c drv base only
brentru Nov 18, 2025
123effb
[Refactor] ctd
brentru Nov 19, 2025
54c763d
[Refactor] analogio, i2c, dsx, pixels, sensor
brentru Nov 19, 2025
f005840
[Refactor] Final pass over i2c
brentru Nov 19, 2025
7a0c5a5
[Refactor] Pixels and fix abstract pure issue
brentru Nov 19, 2025
7e139c8
[Refactor] Pixels, servo, uart, i2c
brentru Nov 20, 2025
2ae7d1e
[Refactor] SDCard
brentru Nov 20, 2025
93db731
[Refactor] Put back SD decoder
brentru Nov 20, 2025
72fef57
[Tests] Update test_offline.py to avoid copying the ELF file manually…
brentru Nov 20, 2025
50174ca
[Tests] Working code, need to fix heap issue
brentru Nov 21, 2025
616ff87
[Tests] Waiting for JSON string, working offline
brentru Nov 21, 2025
1094b39
[Checkin] Refactor to allow pb_callback for component_adds
brentru Nov 24, 2025
72a86a4
[Fix] DigitalIO Routing, test pass
brentru Dec 3, 2025
e794bee
[Refactor] Add Router to digitalio class, route from app to router
brentru Dec 3, 2025
0340a70
[Refactor/Test] Analog Input
brentru Dec 4, 2025
d8d7107
[Refactor] All remaining components, passing tests
brentru Dec 4, 2025
c635383
[Refactor] Checkin model to use new Handlers
brentru Dec 4, 2025
7abd0cb
[Refactor] Wippersnapper_V2 ctor and dtor, make more production friendly
brentru Dec 8, 2025
7772e51
[Error] Add ban/throttle components to error controller, remove from …
brentru Dec 8, 2025
c5fc09a
[Error] Build out PublishX for each component, route to a generic func
brentru Dec 8, 2025
86216dc
[Error] Begin PublishError
brentru Dec 8, 2025
e6bba02
[Error] Ct publisherror
brentru Dec 9, 2025
307f2ee
[Error] Refactor out message to pb model
brentru Dec 9, 2025
1331e22
[Error] Fix encode-string cb
brentru Dec 9, 2025
77e2f88
[Error] Not passing on hw
brentru Dec 9, 2025
2b39f62
[Tooling] Update BSP in PIO, resolve WiFiNina dep
brentru Dec 10, 2025
b072b07
[Refactor] Check in and response tested
brentru Dec 10, 2025
8c695d6
[Staging] Checkin Completes
brentru Dec 11, 2025
291794e
[Audit] Free up memory utilization
brentru Dec 11, 2025
6c9ef65
[Refactor] Performance improvements and refactoring in Digitalio comp…
brentru Dec 12, 2025
d9ebbf0
[Bug] Fixes for DigitalIO
brentru Dec 15, 2025
fc6e8d8
[Refactor] Audit AnalogIO
brentru Dec 15, 2025
380d880
Track PB e88e705
brentru Dec 22, 2025
b2f8ba1
[Init] Sleep MVC and some helper funcs, wiring
brentru Dec 22, 2025
6aa865d
Check init pin
brentru Dec 22, 2025
f8e88c9
Pulling together sdcard class, refactoring as I go
brentru Dec 23, 2025
f0cec5d
Clean up ParseConfig handling, too messy evne for a draft
brentru Dec 23, 2025
8b5dff9
Implement - Parsing->Config (config not impl'd), refactor sweep
brentru Dec 23, 2025
dfa47b5
[Fix] Compile errors
brentru Dec 24, 2025
be60b85
Add configure() for timer-based deep sleep
brentru Dec 24, 2025
1f610f2
Move ESP32x specific hardware calls into sleep/hardware class, get wa…
brentru Dec 29, 2025
f9c1b1e
Implement - model for sleep
brentru Dec 29, 2025
4879d80
Move hardware/model-specific funcs out of ws_sdcard
brentru Dec 29, 2025
b133e88
Match e88e705..f252eff, remove redundant code and pb
brentru Dec 29, 2025
a87b11c
Refactor around sleep mode
brentru Dec 29, 2025
9d2efbd
Match PB: f252eff..b244490
brentru Dec 29, 2025
ec59464
Add EXT0 wakeup path
brentru Dec 29, 2025
95cc10f
Add disable for external periphs power
brentru Dec 30, 2025
0a9fecf
Match PB 30cff34..3cd2fbf
brentru Dec 30, 2025
cd043b4
ESP32 Sleep Wake Cause Integration
brentru Dec 31, 2025
d4da192
check wake reason prior to filling model
brentru Jan 5, 2026
c3b155f
Match PB: 3cd2fbf..e65baf1
brentru Jan 6, 2026
aec5470
Fix lock logic, implement two loop() modes for sleep to remove potent…
brentru Jan 6, 2026
521047e
Remove run_duration calls
brentru Jan 6, 2026
337b5d7
Refactor adapters->platforms
brentru Jan 6, 2026
bf7921e
Refactor WipperSnapper_boards.h
brentru Jan 7, 2026
b93d0e7
Drop v2 from ws!
brentru Jan 7, 2026
a177b75
Add sleep update() functionality, two loops() for entering sleep or n…
brentru Jan 7, 2026
c0dc73a
Add update complete to UART, GPS UART, GPS I2c
brentru Jan 8, 2026
96682d7
Better checking within uart/dsx drvs, smarter init in one place
brentru Jan 8, 2026
19751aa
Add check for i2c
brentru Jan 8, 2026
eca74c7
Add funcn to reconfigure the TWDT on ESP32, block exec on RP2x
brentru Jan 8, 2026
ad5d757
Add - TWDT configuration when droping into sleep mode
brentru Jan 9, 2026
1dd4e30
Add handling for netfsm failure mode, not finished yet
brentru Jan 9, 2026
da94d8b
Handle NetFSM Failure w/sleep mode enabled
brentru Jan 12, 2026
28f1939
Process and check if components have completed update check first
brentru Jan 12, 2026
19bbe0e
Add - Entrypoint for sleep mode
brentru Jan 13, 2026
6c5d80b
Tighten loopSleep()
brentru Jan 13, 2026
9f72785
Rm magic #
brentru Jan 13, 2026
ad12b6c
Add hooks to Disable peripherals and SD card
brentru Jan 14, 2026
449bcb7
Add Heartbeat for sd card logging mode, fix bug with boot button
brentru Jan 15, 2026
e548c19
Add - sleep wakeup reason to printdeviceinfo
brentru Jan 15, 2026
55ea911
Reset all controller flags for light sleep, print sleep mode and dura…
brentru Jan 20, 2026
558b854
Re-implement boot0 pin as a strapping pin
brentru Jan 21, 2026
703a513
Continue implementation of strapping cfg pin
brentru Jan 21, 2026
e41ad05
Fix - Blink heartbeat causing crash
brentru Jan 21, 2026
c573aa0
Add guards around ws_sdcard classes for parsing sleep
brentru Jan 21, 2026
ab51b7b
Fix - EXT0 parsing, runtime loop execution time not being set
brentru Jan 22, 2026
5e2fad6
Update .gitignore
brentru Jan 22, 2026
1f86c9b
Use timer in loopSleep (not TWDT), light sleep return in loopSleep(),…
brentru Jan 23, 2026
020608d
Implement - WakeFromLightSleep() sequence for waking from light sleep…
brentru Jan 26, 2026
4e0f6a2
Implement - - [ ] Implement: Measure VBatt on boot
brentru Jan 27, 2026
a9dfbfb
Fix - logging format
brentru Jan 28, 2026
539821c
Add - Persistence for software rtc cnt between boot cycles
brentru Jan 28, 2026
15bd96a
Fix - Add sleep logging, fix controller output stall
brentru Jan 29, 2026
7aa6593
Fixed race condition
brentru Jan 29, 2026
aa03638
Implement - Restoration of WiFi when coming out of light sleep, forci…
brentru Jan 29, 2026
212ee8a
Store sleep mode in hardware/rtc rather than controller, store log fi…
brentru Feb 2, 2026
e98c0d2
Pass - Test 5.2.1, timestamp concurrency, add tests/sleep_mode and re…
brentru Feb 3, 2026
8b45a6d
Rename - concurrency test, refactor to account for persistence as well!
brentru Feb 3, 2026
2696fe2
Fix - External RTC Wire instance not passed properly
brentru Feb 3, 2026
e4b0878
Add - rtc external test
brentru Feb 3, 2026
a573e2a
Refactor - WDT singleton -> move out into ws_wdt
brentru Feb 10, 2026
771896d
Add RP2350 expansion to WDT class, refactor ESP32-build, fix rp2350 b…
brentru Feb 10, 2026
91a096b
Start routing RP2350 sleep API into hardware/controller
brentru Feb 10, 2026
e50a87f
Push ws_wdt towards the ESP API pattern
brentru Feb 10, 2026
91adc43
Differentiate between RP2350 impl. and ESP32x impl.
brentru Feb 10, 2026
4f7fd45
Compiles and uploads for RP2350
brentru Feb 10, 2026
ed425db
Fix soft rtc bug
brentru Feb 11, 2026
4f12b5e
Refactor to allow static callback for timer-based wake on RP2350
brentru Feb 11, 2026
b44ca36
Add test for sleep .log files, test against rp2350, add LED for RP2350
brentru Feb 12, 2026
5b7e8bd
reorg demo build
brentru Feb 12, 2026
cb0cb9c
Correc thte demo code
brentru Feb 12, 2026
501d43c
guard for esp32cx
brentru Feb 12, 2026
b200380
Fix: Enum for c3c6
brentru Feb 12, 2026
cdb73e8
correct the type for cx
brentru Feb 12, 2026
810a02e
Clang across components
brentru Feb 12, 2026
0b0f6ff
Prune 2 wakeup casues for ESP32x
brentru Feb 12, 2026
852ff53
Still unsure, but adding missing include CI is talking about into drv…
brentru Feb 12, 2026
ea47ed7
Include std functional
brentru Feb 12, 2026
e70dc37
add extra power pin def NEOPIXEL_I2C_POWER
tyeth Feb 18, 2026
c4fa115
fix(pio): sync all rp2 targets to common:rp2040
tyeth Feb 19, 2026
07002f8
Update src/components/sleep/controller.cpp
brentru Feb 19, 2026
d476025
address @tyeth review batch #1
brentru Feb 19, 2026
d1fb2c5
Fix pull mode for wake enable pin, remove redundant ifdef
brentru Feb 19, 2026
6142efd
Implement ESP32Cx RTC detection and fallback
brentru Feb 19, 2026
c574f74
Update README.md
brentru Feb 19, 2026
dc7d368
clangify!
brentru Feb 19, 2026
66db0b2
doxygen + claude spike
brentru Feb 19, 2026
60de0b9
clang3
brentru Feb 19, 2026
dea7745
fix readme
brentru Feb 19, 2026
527d12d
clang
brentru Feb 19, 2026
1028a8e
Merge pull request #867 from adafruit/add-mode-sleep
brentru Feb 20, 2026
bbdff61
Merge adafruit/main into migrate-api-v2
brentru Feb 23, 2026
64a24a3
Revert "Merge adafruit/main into migrate-api-v2"
brentru Feb 23, 2026
dd94dc1
Add CI workflow for migrate-api-v2 branch
brentru Feb 23, 2026
94d8d03
Remove LVGL job, move funhouse_noota to ESP32-Sx
brentru Feb 23, 2026
f7558e5
rm more refs to lvgl
brentru Feb 23, 2026
6eade97
Refactor test_offline.py to use wokwi_client
brentru Feb 23, 2026
fcb5b53
rm unused scenario yaml files
brentru Feb 23, 2026
b4e88d8
Pass all validation tests
brentru Feb 23, 2026
95827ca
[Tests] Migrate Wokwi Python Client to async, fix firmware flag bug r…
brentru Feb 24, 2026
25f4d70
Remove debug prints
brentru Feb 24, 2026
31ce4c5
[Milestone] First Checkin->DIO Add->LED Blink for v2 against staging
brentru Feb 24, 2026
75a44c2
Allocate ComponentAdd on the heap instead of RAM
brentru Feb 25, 2026
bed30f6
Fix: Remove io-wipper- prefix from DeviceID
brentru Feb 25, 2026
12f9187
Clean up debug prints!
brentru Feb 26, 2026
b6955f8
[Fix] Dropped packet after checkin completion
brentru Feb 26, 2026
4c40709
Match PB: 941d520fee958c2e7eb901af90075ff6c5929d81
brentru Feb 27, 2026
a7fc175
Sync #a90f52b
brentru Mar 2, 2026
bfd9073
Sleep migration, checkpoint
brentru Mar 2, 2026
302ee3b
sleep migration 2, checkpoint 2
brentru Mar 2, 2026
5ae8321
Refactor checkin
brentru Mar 2, 2026
3e301f7
Update API to match
brentru Mar 2, 2026
bdf3ac9
rm demo cpp
brentru Mar 2, 2026
322802f
Route sleep configuration to correct funcs
brentru Mar 2, 2026
bb41e99
[Fix] Remove reference to lock, refactor to match checkin.pb.h field …
brentru Mar 3, 2026
0eed12f
Looking at netfsm dont commit
brentru Mar 3, 2026
2dce444
Netfsm checkpoint #2 for light sleep
brentru Mar 3, 2026
d170ee5
[Fix] Disconnect from WiFi prior to sleeping
brentru Mar 3, 2026
12999bc
[Fix] Clean up previous WiFi bug a bit more
brentru Mar 3, 2026
c155dad
[Fix] Publish DIO/AIO Events, fix DIO component remove
brentru Mar 5, 2026
d70e91d
[Port] Apply ESP8266 Fw changes from v1 branch
brentru Mar 9, 2026
c58ace8
[Sleep] Remove TinyUSB call for C3 compillation
brentru Mar 9, 2026
a73828b
[PB] Add i2c-n-buses fix
brentru Mar 18, 2026
9286d11
[PB] a66f72b..dd21663
brentru Mar 18, 2026
8aafa1d
[PB] dd21663..a4ee695
brentru Mar 18, 2026
716dd74
[Refactor] I2C Hardware, Ctor and begin()
brentru Mar 18, 2026
aa8f134
[Refactor] I2C Handle Bus Scan, TODO: needs publish
brentru Mar 18, 2026
991abf3
[Refactor] Address TODOs
brentru Mar 18, 2026
9949811
[I2C] Refactor across removedriver
brentru Mar 18, 2026
06c035d
[I2c] Fix find bus
brentru Mar 19, 2026
7151130
[I2C] Continue refactor
brentru Mar 19, 2026
bedd768
[I2c] Rm output, refactor out gps and mux init funcs
brentru Mar 19, 2026
98427a9
[I2c] Major refactor over sensor creation in Handle Add replace
brentru Mar 19, 2026
a411aa7
[I2c] Address not publishing out on failure
brentru Mar 19, 2026
ee78bfa
[I2c] Fix sdcard rtc init
brentru Mar 19, 2026
6d08ac8
[I2c] Fix Goodnight API change
brentru Mar 19, 2026
aa18fb7
[I2c] Fix for SAMD/RP
brentru Mar 19, 2026
5a50dcb
[Add] New PBs
brentru Apr 22, 2026
bba6144
[Refactor] Remove GPS from UART/I2C controllers, add GPS routing to h…
brentru Apr 22, 2026
59b2fbb
[Refactor] Bring i2c bus creation out into an abstract func
brentru Apr 23, 2026
3f58d76
Forward-apply PR tyeth/issue899
brentru Apr 27, 2026
9217c3f
Fix I2C scan issue
brentru Apr 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
243 changes: 0 additions & 243 deletions .clang-format

This file was deleted.

Loading
Loading