Ground Control's RockBLOCK 9704 library is pinned untouched in west.yml and compiled here for any board with a UART: a serial port on the bus of the rock7,rockblock-9704 devicetree node, the library's timing calls on the kernel, and one worker thread that owns every call into it, since the library has no locking and shares static buffers. The worker sleeps until a request or a byte from the modem arrives. Requests (begin, end, power, send, info, signal) wait as long as the caller says; a send with K_NO_WAIT queues and reports through mo_done. Callbacks for a sent message, a received one, the signal and the provisioning; a status snapshot that never touches the modem. The library asks for provisioning once and keeps a miss for good; the worker clears its cache before a send whose topic is missing and after the modem refuses one, so a modem provisioned later is seen. The serial port and worker began in the OGLAS satellite bench and were carried through WII6's lib/wii6-sat.
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
# rockblock9704-zephyr: a west manifest for working on this module on its
|
|
# own, and the pins an application imports.
|
|
#
|
|
# In an application's west.yml:
|
|
#
|
|
# - name: rockblock9704-zephyr
|
|
# url: https://github.com/SH3D/rockblock9704-zephyr (or gitea.sh3d.com.au/Sh3d)
|
|
# revision: <tag>
|
|
# path: modules/lib/rockblock9704-zephyr
|
|
# import:
|
|
# name-allowlist:
|
|
# - rockblock9704
|
|
#
|
|
# The import brings Ground Control's library with it, at the path this
|
|
# module's CMakeLists.txt looks in, and nothing else. The Zephyr entry below
|
|
# is only for working on the module alone (`west init -l` in a checkout of
|
|
# this repository).
|
|
manifest:
|
|
version: "0.13"
|
|
|
|
self:
|
|
path: rockblock9704-zephyr
|
|
|
|
remotes:
|
|
- name: zephyrproject
|
|
url-base: https://github.com/zephyrproject-rtos
|
|
|
|
projects:
|
|
# Ground Control's library, pristine, by commit (tag v1.0.1). MIT.
|
|
- name: rockblock9704
|
|
url: https://github.com/rock7/RockBLOCK-9704
|
|
revision: ab37e8ac7711e1ba8061835a0685c25b6069e767
|
|
path: modules/lib/rockblock9704
|
|
|
|
# Zephyr v4.4.0, for working on this module alone. Tested with it.
|
|
- name: zephyr
|
|
remote: zephyrproject
|
|
revision: 684c9e8f32e4373a21098559f748f06915f950c9
|
|
import:
|
|
name-allowlist:
|
|
- cmsis_6
|
|
- hal_stm32
|
|
- hal_espressif
|
|
- picolibc
|
|
- mbedtls
|