|
K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
|
K-FSW, also written KFSW, is flight software for small-satellite nodes built on Zephyr. It provides a console, CSP links over UART/KISS and CAN, parameters, files, logs, events, commands, housekeeping and firmware updates. Each node, whether OBC, radio, ADCS, EPS or payload, enables the services it needs in Kconfig and adds its own modules.
| Task | Page |
|---|---|
| Build and run a Linux node | Getting started |
| Flash a board and check its interfaces | Boards and targets |
| Connect a ground node or record telemetry in Yamcs | Ground station |
| Topic | Page |
|---|---|
| Shell syntax and examples | Shell commands |
| Parameters, persistence, logging, files, commands, events | Services |
| CSP addresses, routes, UART/KISS, and CAN | CSP and links |
| Upload, boot, confirm, and roll back an image | Firmware update |
| Every parameter and command, generated from the image | Interface control document |
| Public C headers and functions | API Reference |
k-fsw selects the modules and services, binds hardware, and orders startup. The other four repositories hold reusable code. west.yml pins the revisions used together.
Zephyr provides the RTOS, device drivers, board support, Kconfig, devicetree, and build tools. Its native simulator runs the application on Linux, so service and link tests can run before hardware is available.
A new Zephyr target supplies its own hardware description and configuration; no service names a board. Porting to another RTOS means adapting the Zephyr kernel, driver and filesystem calls in each module and service. See Zephyr integration.
CSP is optional. Local parameters, persistence, logging and the shell work without it.
From a configured west workspace:
After @READY, try status, param whichtables, storage info, and csp info. See Getting started for workspace setup.
Linux and NUCLEO-L496ZG are the reference targets. FRDM-K64F runs a shell-only image. Pico W builds with the core services, which have not been run on the board.