0.4.0: builds on Zephyr 4.5 as well as 4.4

This commit is contained in:
scottp committed 2026-11-26 16:12:09 +11:00
1 parent 144efe683e
commit db6d584807
11 files changed
+95 -14

No files matched your search

+11 -1
View File
@@ -6,7 +6,7 @@ menuconfig RB9704
default y
depends on DT_HAS_ROCK7_ROCKBLOCK_9704_ENABLED
depends on SERIAL
select RING_BUFFER
select RING_BUFFER if RB9704_ZEPHYR_BEFORE_4_5
select UART_INTERRUPT_DRIVEN
help
Ground Control's RockBLOCK 9704 (Iridium Certus, IMT messages) on the
@@ -16,6 +16,16 @@ menuconfig RB9704
if RB9704
# Zephyr 4.5 made the ring buffer header-only, and CONFIG_RING_BUFFER there
# brings back the deprecated legacy implementation. Before 4.5 it is what
# builds the ring buffer at all. KERNELVERSION is 0xMMmmpp00.
config RB9704_KERNEL_VERSION
hex
default "$(KERNELVERSION)"
config RB9704_ZEPHYR_BEFORE_4_5
def_bool RB9704_KERNEL_VERSION < 0x4050000
config RB9704_MESSAGE_MAX
int "Largest message in either direction (bytes)"
default 2048