For firmware used on boards during launch.
- Run
make build board=$BOARDto compile flatbuffer schemas, build the.binfile, and copy it toout/$BOARD.bin.$BOARDmust be one of:bb(Black Box),fc(Flight Computer),gs(Ground Station),tpc(Telemetry/Power Control).
- Run
make build-allto simply runmake build board=$BOARDfor all 4 boards sequentially.
- Run
make flash board=$BOARDifout/$BOARD.binexists to use thest-flashcommand.
- 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=$BOARDcommand they will be recompiled by theflatcexecutable ingeneral/.