Flight software for Andromeda, a student-designed hybrid-propellant rocket. Handles parachute deployment, valve actuation, data collection, and telemetry. Also serves as a platform for the BLiMS project.
cmake
gcc-arm-embedded
(for macOS)gcc-arm-none-eabi
(for Linux)
doxygen
: For documentation generationclang-format
: For formatting code
These dependencies can be install via Homebrew on macOS or apt on WSL.
- Install the required dependencies
- Run
git submodule update --init
from withinlib/
- Run
git submodule update --init
from withinlib/pico-sdk/
By default, FSW builds in LAUNCH
mode. There are 2 build options you can set:
VERBOSE
: Displays state information over serial. FSW will only start running once a serial connection is made.SIM
: FSW will execute a simulated flight path once the launch command is sent.
You can set these options in CMakeLists.txt
. The executable name will change based on which build option(s) are set: fsw
, fsw_verbose
, fsw_sim
, or fsw_sim_verbose
.
- (First-time setup only) Create a top-level
build/
directory - (First-time setup only) Run
cmake ..
from withinbuild/
- Set build options (see above)
- Run
make
- Move the generated
uf2
file to a Pico in boot select mode
You can also run make upload
to automatically make and move the uf2 to a Pico in boot select mode
- Create a new branch with
git checkout -b YOUR_BRANCH_NAME
- Make some changes!
- Make sure to run
format.sh
- Open a new pull request