- Open a terminal, source the project python virtual environment, and navigate to the
SystemReference
deployment - Set the PKG_CONFIG_PATH variable to the location where the libcamera pkgconfig directory is:
export PKG_CONFIG_PATH=<libcamera-build-directory>/lib/pkgconfig/
- Next run
fprime-util generate <options>
andfprime-util build <options>
to build the System Reference
If building natively, run:
fprime-util generate
fprime-util build
Or if building for an ARM 32-bit or ARM 64-bit Linux platform, run:
export ARM_TOOLS_PATH=<path to installation directory of ARM cross compilers>
#You can check to make sure the environment variable is set by running:
echo $ARM_TOOLS_PATH
# For Raspberry Pi/ARM 32-bit hardware
# In: Deployment Folder
fprime-util generate raspberrypi
fprime-util build raspberrypi
# For ARM 64-bit hardware
# In: Deployment Folder
fprime-util generate aarch64-linux
fprime-util build aarch64-linux