Update tflu_gen target

-Use real target instead of "lib".
-Remove TAGS=cmsis-nn when build for Ethos-U.

Change-Id: I8825759df9be5614ba572c2e005e7f66034937f9
1 file changed
tree: 1c0026d58ad643029d3e2793a1026650d98510d6
  1. .clang-format
  2. .gitignore
  3. CMakeLists.txt
  4. LICENSE.txt
  5. README.md
  6. applications/
  7. cmake/
  8. cmsis.cmake
  9. 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.