Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1 KB

building-system-ref-with-libcamera.md

File metadata and controls

32 lines (26 loc) · 1 KB

Building the System Reference with libcamera

  1. Open a terminal, source the project python virtual environment, and navigate to the SystemReference deployment
  2. Set the PKG_CONFIG_PATH variable to the location where the libcamera pkgconfig directory is:
export PKG_CONFIG_PATH=<libcamera-build-directory>/lib/pkgconfig/
  1. Next run fprime-util generate <options> and fprime-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