Add TFLU_BUILD_TYPE in tensorflow.cmake

The build type for the Tensorflow Lite Micro library can now
controlled with TFLU_BUILD_TYPE, valid values are "release"
and "debug"

Change-Id: I4ee5fa431dd433aaf2989bd91f1521631632364f
1 file changed
tree: fd847e83ed3de951788a5b411ce69e2bcaaa1870
  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.