MLBEDSW-1732 Add support for arm-none-eabi-gcc

Pass on compiler information depending on used toolchain.

Change-Id: Icf97f6c4d2b6f889b2cc3b87b7db356c097fc1a4
1 file changed
tree: e69d8ed4a4749afe7b23e43609e0850a78603c34
  1. .gitignore
  2. CMakeLists.txt
  3. LICENSE.txt
  4. README.md
  5. cmsis.cmake
  6. tensorflow.cmake
README.md

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.