Adding toolchain files

Change-Id: I01a450a0e79cbadf88a5cfe061eb3156b4ccff75
2 files changed
tree: 70dda9e01bd54f430aa6d3c1d21ec9d6f25057d4
  1. .gitignore
  2. CMakeLists.txt
  3. LICENSE.txt
  4. README.md
  5. cmake/
  6. cmsis.cmake
  7. 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.