For firmware used on boards during launch.
- Run
make build board=$BOARD
to compile flatbuffer schemas, build the.bin
file, and copy it toout/$BOARD.bin
.$BOARD
must be one of:bb
(Black Box),fc
(Flight Computer),gs
(Ground Station),tpc
(Telemetry/Power Control).
- Run
make build-all
to simply runmake build board=$BOARD
for all 4 boards sequentially.
- Run
make flash board=$BOARD
ifout/$BOARD.bin
exists to use thest-flash
command.
- The four boards (
bb
,fc
,gs
,tpc
) each have folders. Simply add code to the appropriate folder. - The flatbuffer schemas are under
general/*.fbs
(more details below). flatbuffers/
contains the necessary flatbuffer includes and should not be modified.- After a build,
out/
will contain the output binary.
- The schemas are under
general/*.fbs
. Edit them and the next time you run amake build board=$BOARD
command they will be recompiled by theflatc
executable ingeneral/
.