Add runtime FEM control and fix full Companion boot
This commit is contained in:
1 parent
f40615ab56
commit
968ca3363b
10 files changed
+162
-28
No files matched your search
@@ -39,7 +39,7 @@ bash build.sh build-firmware RAK_4631_companion_radio_full \
|
||||
--firmware-version v1.17.0
|
||||
```
|
||||
|
||||
To build every available full Companion target, select the corresponding
|
||||
To build every canonical full Companion target, select the corresponding
|
||||
interactive menu item or run:
|
||||
|
||||
```bash
|
||||
@@ -47,6 +47,20 @@ bash build.sh build-full-companion-firmwares \
|
||||
--firmware-version v1.17.0
|
||||
```
|
||||
|
||||
Heltec `_femon` Companion firmware can switch the external FEM receive gain at
|
||||
runtime, so the Companion bulk-build commands omit the redundant legacy
|
||||
`_femoff` targets. Those targets remain available through an explicit
|
||||
`build-firmware` command for compatibility. In WebConfig, use the **FEM RX
|
||||
boost** switch. From the USB terminal, use:
|
||||
|
||||
```text
|
||||
get radio.fem.rxgain
|
||||
set radio.fem.rxgain off
|
||||
set radio.fem.rxgain on
|
||||
```
|
||||
|
||||
The selected state is applied immediately and retained after reboot.
|
||||
|
||||
Artifacts are written to `out/` by default.
|
||||
|
||||
On 4 MB ESP32 boards, the full target uses a single 3 MB application
|
||||
|
||||
@@ -84,6 +84,16 @@ set af {air-time-factor}
|
||||
```
|
||||
Sets the transmit air-time-factor. Deprecated - use `set dutycycle` instead.
|
||||
|
||||
```
|
||||
get radio.fem.rxgain
|
||||
set radio.fem.rxgain {on|off}
|
||||
```
|
||||
Shows or changes the external FEM receive-path LNA on supported Heltec boards.
|
||||
The change is applied immediately, saved across reboots, and recalibrates the
|
||||
radio noise floor. This is separate from the SX126x `radio.rxgain` setting.
|
||||
Boards whose FEM receive path cannot be controlled report the setting as
|
||||
unsupported.
|
||||
|
||||
|
||||
```
|
||||
time {epoch-secs}
|
||||
|
||||
Reference in new issue
Block a user