1# TensorFlow Lite Micro ARC Make Project
2
3This folder has been autogenerated by TensorFlow, and contains sources, headers, and project files needed to build a single TensorFlow Lite Micro application using make tool and a Synopsys DesignWare ARC processor compatible toolchain, specifically the ARC MetaWare Development Toolkit (MWDT).
4
5This project has been generated for a target defined by TCF file only (Tool Configuration File). The real target board is unspecified, and applications can be run only in the nSIM simulator included with MWDT.
6
7See
8[tensorflow/lite/micro](https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro)
9for details on how projects like this can be generated from the main source tree.
10
11## Usage
12
13See [Custom ARC EM/HS Platform](https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro/tools/make/targets/arc/README.md#Custom-ARC-EMHS-Platform) section for more detailed information on requirements and usage of this project.
14
15The Makefile contains all the information on building and running the project. One can modify it to satisfy specific needs. Next actions are available out of the box. You may need to adjust the following commands in order to use the appropriate make tool available in your environment, ie: `make` or `gmake`
16
171. Build the application.
18
19       make app
20
212. Build the application passing additional flags to compiler.
22
23       make app EXT_CFLAGS=[additional compiler flags]
24
253. Build the application and stripout TFLM reference kernel fallback implementations in order to reduce code size. This only has an effect in case the project was generated with MLI support. See more info in [EmbARC MLI Library Based Optimizations](https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro/kernels/arc_mli/README.md). `false` is the default value.
26
27       make app MLI_ONLY=[true|false]
28
294. Delete all artifacts created during build.
30
31       make clean
32
335. Run the application with the nSIM simulator in console mode.
34
35       make run
36
376. Run the application with the nSIM simulator, but using the MetaWare Debugger GUI for further execution/debugging capabilities.
38
39       make debug
40
41
42
43## License
44
45TensorFlow's code is covered by the Apache2 License included in the repository, and third party dependencies are covered by their respective licenses, in the third_party folder of this package.
46