commit | dc28b13e8bf4e5e7a788f289739e6301494c43a1 | [log] [tgz] |
---|---|---|
author | Per Åstrand <per.astrand@arm.com> | Mon Sep 28 13:02:18 2020 +0200 |
committer | Per Åstrand <per.astrand@arm.com> | Tue Oct 06 09:49:02 2020 +0200 |
tree | e851afe5c12d79e8b36a718ceaa09fcff19b07aa | |
parent | bbd9c8fcfdda36fa69a6b65f95efdb242cbff30a [diff] |
Refactor code to avoid typepunning tricks Change-Id: Iecefa233561ddbef3e04f395f12fb56cd76ffd42
The core software is built with CMake. It is recommended to build out of tree like illustrated below.
$ mkdir build $ cd build $ cmake .. -DCMAKE_TOOLCHAIN_FILE=<toolchain> -DCMAKE_SYSTEM_PROCESSOR=cortex-m<nr><features> $ make
Available build options can be listed with cmake -LH ..
.
Supported CPU targets are any of the Cortex-M processors with any of the supported features, for example cortex-m33+nodsp+nofp. A toolchain file is required to cross compile the software.