0.4.0: builds on Zephyr 4.5 as well as 4.4

Zephyr 4.5 made uart_irq_update() return void, and the receive
interrupt used it as its loop condition, so 0.3.0 does not compile on
4.5. It is now called at the top of each pass, as Zephyr's own samples
do.

From 4.5 the ring buffer is header-only, and CONFIG_RING_BUFFER brings
back the deprecated legacy implementation. CONFIG_RB9704 selects it only
when KERNELVERSION is below 4.5. The rig bridge reads its ring with
ring_buf_peek() and ring_buf_get() in place of the claim API, and gates
the option the same way in a Kconfig of its own.

Tested on v4.4.0 and v4.5.0: 37 pass and 2 skip against the fake on
native_sim, and the sample, rigs and bridges build for every board.

Also in this release, from main since 0.3.0: rbtest in the shell sample,
rb9704_send_fill, and the Stamp-C3 overnight run. The README has a
section on the Zephyr versions; the standalone manifest pins v4.5.0;
the Python tools are 0.4.0.
This commit is contained in:
scottp committed 2026-11-26 16:21:03 +11:00
1 parent 144efe683e
commit acd4263a06
11 files changed
+96 -14

No files matched your search

+14
View File
@@ -174,4 +174,18 @@ all three control lines wired. Those were the first messages through a
real modem and a satellite. `boards/stamp_c3.md` has the pins, the runs
and the P_EN fault found on the way.
On 2026-11-26, 0.4.0 on Zephyr v4.4.0 and v4.5.0, in the WII6
workspace, with the same Ground Control library:
| Level | v4.4.0 | v4.5.0 |
| --- | --- | --- |
| Python: fake, command line, binding, and `native_sim/native/64` against the fake | 37 pass, 2 skip (no real modem) | 37 pass, 2 skip |
| The shell sample built for NUCLEO-U575ZI-Q, XIAO ESP32S3, ESP32-S3-DevKitC, ESP32 DevKitC and M5Stamp-C3 | all build | all build |
| The Stamp-C3 with `overlay-wifi.conf` and with `overlay-large.conf`, both rig overlays, the bridge on the Nucleo and on the XIAO | all build | all build |
`CONFIG_RING_BUFFER` is selected on 4.4.0 and not on 4.5.0, and no build
on either gave a warning. Nothing has run on a board under 4.5 yet: the
rig and real modem runs above were on v4.4.0. 0.3.0 does not build on
4.5.
Not yet: an MT message down to the board.