Skip to content

Building the OBC firmware

The following is a simple guide on building the app for the OBC.

  1. Before compiling, ensure that the Python virtual environment is activated. If you do not have this configured, see Initial setup.

  2. From the root directory, run the following commands:

    Terminal window
    mkdir -p build_arm && cd build_arm
    cmake .. -DCMAKE_BUILD_TYPE=OBC
    cmake --build .
  3. There are also plenty of extra options that you can use besides -DCMAKE_BUILD_TYPE by appending them to the cmake .. command. Take a look at the CMake options guide.