How rit-launch-initiative/fsw works
Project type and purpose
• This is an embedded flight-software framework (“Launch Flight Software”) built on Zephyr RTOS.
• It targets modular custom hardware (“backplane” with power, sensor, radio, deployment modules), plus ground-station components (receiver module, TFTP server), payload software, and host-side tooling.
• It includes drivers, board descriptions, common libraries (f_core, launch_core_classic), application folders under app/, sample projects, and developer tools.
File structure
• Top-level build scripts: CMakeLists.txt, Makefile, west.yml, GitHub workflows under .github.
• app/ – Zephyr applications, grouped by flight hardware (backplane modules), ground station, payload, samples, tests.
• boards/ – DTS, overlays, board-specific configs for each module.
• drivers/ – low-level sensor and ADC drivers.
• / & lib/ – common API headers (.h) and implementations (.cpp/.c) for f_core (OS abstractions, messaging, networking, radio, utils) and launch_core_classic layers.
• tools/ – Python scripts for code generation (autocoders), data-log checking, payload sending, test harness.
• data/ & snippets/ – input YAML, CSV, code templates for simulations and configuration.
Additional insights from README
• Build and simulation workflows: make <app> or west build <app> -b <BOARD>.
• Simulation support via native_sim, with simulated sensors, networking (eth_posix), flash persistence.
• Hardware flashing via west flash to real boards.
Essential details
• Dependencies: apps link to f_core & launch_core_classic → link to drivers → interact with board.
• Simulation vs real hardware paths: native_sim network interface, flash.bin vs real flash.
• CI/CD build step (GitHub Actions) feeding into boards.