feat(rak3401): auto-sleep optional onboard SX1262
Use the existing RAK3401 firmware roles for RAK4631 cores paired with a RAK13302. Probe the optional onboard radio and put it into cold sleep before handing SPI to the primary radio, removing seven duplicate build environments. Preserve BUSY startup readiness, release probe pulls before sleep, and disconnect unused GPIO input buffers during cleanup. Add focused tests for sequencing, missing signatures, timeouts, and failed sleep readback. Validated with four native tests, seven firmware-role builds, and repeater boot checks on RAK4631 + RAK13302. Supply current was not measured.
This commit is contained in:
1 parent
94a4c0b0ed
commit
6dc7f2b047
6 files changed
+184
-164
No files matched your search
@@ -173,6 +173,12 @@ build_src_filter =
|
||||
lib_deps =
|
||||
google/googletest @ 1.17.0
|
||||
|
||||
[env:native_rak3401_onboard_radio]
|
||||
; Header-only tests without unrelated production sources; also included in env:native CI.
|
||||
extends = env:native
|
||||
test_build_src = no
|
||||
test_filter = test_rak3401_onboard_radio
|
||||
|
||||
[env:native_kiss_modem]
|
||||
platform = native
|
||||
test_framework = googletest
|
||||
|
||||
Reference in new issue
Block a user