1 Commits
Author SHA1 Message Date
scottp acd4263a06 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.
2026-11-26 16:21:03 +11:00
+9 -8
View File
@@ -174,17 +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 real modem and a satellite. `boards/stamp_c3.md` has the pins, the runs
and the P_EN fault found on the way. and the P_EN fault found on the way.
On 2026-11-26, with the changes for Zephyr 4.5, the same Ground Control On 2026-11-26, 0.4.0 on Zephyr v4.4.0 and v4.5.0, in the WII6
library: the module was built and tested on both Zephyr v4.4.0 and workspace, with the same Ground Control library:
v4.5.0, in the WII6 workspace.
| Level | v4.4.0 | v4.5.0 | | Level | v4.4.0 | v4.5.0 |
| --- | --- | --- | | --- | --- | --- |
| Python: fake, command line, binding, and `native_sim/native/64` against the fake | 31 pass, 2 skip (no real modem) | 31 pass, 2 skip | | 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, M5Stamp-C3 | all build | all build | | 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`, both rig overlays, the bridge on the Nucleo and the XIAO | the Nucleo rig and both bridges build with these changes; the WiFi and XIAO rig builds were run at 0.3.0 only | 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 |
Nothing on a board under 4.5 yet: the rig and the real modem runs above `CONFIG_RING_BUFFER` is selected on 4.4.0 and not on 4.5.0, and no build
were on v4.4.0. 0.3.0 itself does not build on 4.5. 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. Not yet: an MT message down to the board.