commit | 1823930ea1baaaf5975dc0b03eddb45917509410 | [log] [tgz] |
---|---|---|
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | Fri Apr 17 08:45:38 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Thu Apr 23 13:33:34 2020 +0200 |
tree | d69954e36a538c505bb057b41d340b6adc36f25e | |
parent | e5dd4b887537f3376db97b3ca3c2610a69e39911 [diff] |
MLBEDSW-1729 Adding core software build files Change-Id: Ia4d90f2e8875f33b70aec2dd53e2128192a4e10a
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.