View on GitHub

Flight Software & Embedded Systems Framework

Note: auto-generated from comments in: ./toolchain/arm-hf-linux.cmake

ARM 32-bit Toolchain with Hardware Floating Point

This ARM toolchain will compile for 32-bit ARM linux systems supporting hardware floating point operations. It uses the arm packages installed on the system path for cross-compilation. To override the location of the tools use -DARM_TOOLS_PATH=… to specify the root directory of the tools installation. That directory should contain folders bin, lib, etc where the tools are located.

These toolchains will use the linux libraries shipped with the compiler to build the final image. To override this, users should set -DCMAKE_SYSROOT=… to a directory containing a valid sysroot for their device.

Cautions:

  1. Care must be taken to ensure that the Linux OS running on the target is newer than the cross-compilers, or sysroot should be used to specify fixed library targets to compile against.
  2. Specifying sysroot should be used with care as both libraries and headers must both exist in the sysroot