Integrate W12 RF switching and LR2021 receive PRs

Adapt upstream MeshCore #3579 at 7457cff43c22697119e06ad7d192a37de0990403:
retain GC1109 LF standby bias, with checked cold controls before band supply
changes and shutdown. Preserve exclusive LF/HF rails and TX error cleanup.
Reset before boot rail changes and before SPI-dependent hard recovery.

Retain our stronger implementation of #3512 at
d208bfef94ab83280de30ba4a0675ff73b3ecef3. Add regressions for suspect FIFO
contents, failed RX_DONE acknowledgement, and fresh preamble timing.
W12 TX power defaults from #3319 were already included via 65aa1138a.

Validation: 79 targeted native tests; canonical W12 Full repeater and Full
Companion builds, capability checks, app-size and RAM checks passed.
Physical W12 RF envelope, current and LoRa management confirmation remain.

Upstream PRs:
https://github.com/meshcore-dev/MeshCore/pull/3579
https://github.com/meshcore-dev/MeshCore/pull/3512
https://github.com/meshcore-dev/MeshCore/pull/3319
This commit is contained in:
mikecarper committed 2026-10-25 15:46:18 -07:00
1 parent 73c5f572eb
commit ad34fd3a0d
15 files changed
+514 -137

No files matched your search

+1
View File
@@ -102,6 +102,7 @@ struct Native {
int16_t startReceive() { const auto result=call(7); receiving=result==0; return result; }
int16_t setRSSIConfig(uint8_t samples) { rssi_samples=samples; return call(6); }
int16_t receiveDirect() { const auto result=call(7); receiving=result==0; return result; }
int16_t standby() { return 0; }
int16_t setDioFunction(uint8_t dio,uint8_t function,uint8_t pull) {
assert(dio>=5 && function==6 && (pull==0 || pull==1)); return call(4);
}