This repository builds the sample of TensorFlow Lite for micro for M5StickV.
Download and install latest CMake.
Download and install latest toolchain.
Download kendryte-toolchain-win-i386-8.2.0-20190409.tar.xz
Open a Windows Powershell, cd to Project directory (src\micro).
> $env:Path="<PATH_TO_TOOLCHAIN>\kendryte-toolchain\bin;C:\Program Files\CMake\bin" + $env:Path
> mkdir build && cd build
> cmake -G "MinGW Makefiles" ../../..
> make
You will get 2 key files, micro
and micro.bin
.
- If you are using JLink to run or debug your program, use
micro
- If you want to flash it in UOG, using
micro.bin
, then using flash-tool(s) burn .bin to your flash.
This is very important, don't make a mistake in files.