commit | 3598ef88a7a9729b5842818bfa77e28a599ea695 | [log] [tgz] |
---|---|---|
author | Henrik Hoglind <henrik.hoglind@arm.com> | Thu May 28 12:09:04 2020 +0200 |
committer | Bhavik Patel <bhavik.patel@arm.com> | Thu Jul 09 08:24:04 2020 +0200 |
tree | fd847e83ed3de951788a5b411ce69e2bcaaa1870 | |
parent | 94ca3558d648c69ee1b5d7771247763a9fdd9514 [diff] |
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
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.