Add install target & GCC support

Add install target for libraries.

Minor changes to enable GCC support.

Change-Id: I6adab92cb997c1edc2729f02a4f10406463e0a9b
3 files changed
tree: 95e8e29261786043b9afc7ba78fbc7ba66745220
  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.