blob: e9ccbb5648303c6b3f19f3f9493f5a6804a3a48a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Ethos-U core software
## Building
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.
|