Clang format

Change-Id: I8e427df2b2f309c11c50339f4d324f5536a4e02d
2 files changed
tree: 0ef531cfe83816a22a2e82fecef9e0b51dab1b3c
  1. .clang-format
  2. .gitignore
  3. CMakeLists.txt
  4. LICENSE.txt
  5. README.md
  6. applications/
  7. cmake/
  8. cmsis.cmake
  9. drivers/
  10. 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.