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:
1 parent
144efe683e
commit
acd4263a06
11 files changed
+96
-14
No files matched your search
@@ -25,6 +25,17 @@ and is mirrored to
|
||||
Open issues and pull requests on the GitHub mirror; the Gitea instance does
|
||||
not allow public sign-ups.
|
||||
|
||||
## Zephyr versions
|
||||
|
||||
The module builds and its tests pass on Zephyr v4.4.0 and v4.5.0. Use
|
||||
0.4.0 or later with Zephyr 4.5: 0.3.0 does not compile there, because
|
||||
4.5 changed `uart_irq_update()` to return `void` and the module's
|
||||
receive interrupt used its value. 0.4.0 calls it the way Zephyr's own 4.5
|
||||
samples do. It also selects `CONFIG_RING_BUFFER` only before 4.5, since
|
||||
the ring buffer needs no option from 4.5 on and that option there brings
|
||||
back the deprecated implementation. `CHANGELOG.md` has the detail and
|
||||
`docs/TESTING.md` what was run on each.
|
||||
|
||||
## Ground Control's library
|
||||
|
||||
This module does not reimplement or fork the protocol. Ground Control's
|
||||
@@ -89,7 +100,7 @@ library, pinned, at the path the module looks in, and nothing else:
|
||||
```yaml
|
||||
- name: rockblock9704-zephyr
|
||||
url: https://github.com/SH3D/rockblock9704-zephyr
|
||||
revision: v0.3.0
|
||||
revision: v0.4.0
|
||||
path: modules/lib/rockblock9704-zephyr
|
||||
import:
|
||||
name-allowlist:
|
||||
|
||||
Reference in new issue
Block a user