YuzukiHD / TinyMaix-XR806

Port TinyMaix to XradioTech XR806 chip with Arm-Star ARMv8-M Core, 288KB SRAM, 160KB Code ROM. SIP 16Mbit Flash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TinyMaix XR806

Port TinyMaix to XradioTech XR806 chip with Arm-Star ARMv8-M Core, 288KB SRAM, 160KB Code ROM. SIP 16Mbit Flash

config mnist (SRAM) cifar vww96 (Flash XIP) 32K Cache mbnet128 (Flash XIP) 32K Cache mbnet128 (Flash XIP) no Cache
O0 CPU 2 134 459 844 42530
O1 CPU 1 104 453 712 35576

Install

The recommended operating system is Ubuntu 18.04 WSL and Ubuntu 20.04 WSL. If you want to use a virtual machine or a physical machine running linux, please troubleshoot the problem by yourself. There is no solution here.

Install necessary packages

sudo apt install wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev python3-distutils libc6-i386

Download BSP

Notice: Root permission is not necessery for download or extract.

git clone https://github.com/YuzukiHD/TinyMaix-XR806.git

Make the first build

Notice: Root permission is not necessery for build firmware.

Do not use sudo

Setup Toolchains

./setup_toolchain.sh 

Building commands

  $ cd ${prj_gcc_path}     # eg. cd project/wlan_demo/gcc
  $ make lib               # build libraries and copy them to "lib"
  $ make lib_clean         # remove files in "src" generated by `make lib`
  $ make lib_install_clean # Remove libraries in "lib" generated by `make lib`
  $ make                   # build the executable binary
  $ make clean             # remove files generated by `make`
  $ make image             # create the image file
  $ make image_clean       # remove files generated by `make image`
  $ make objdump           # generate the disassembled file
  $ make build             # same as `make lib && make && make image`
  $ make build_clean       # same as `make image_clean clean lib_clean`

Build Example Project

TinyMaix mnist example

Can be compiled separately or one command

Separately

cd project/demo/tinymaix_mnist/gcc
make lib
make 
make image

One command

cd project/demo/tinymaix_mnist/gcc
make build

About

Port TinyMaix to XradioTech XR806 chip with Arm-Star ARMv8-M Core, 288KB SRAM, 160KB Code ROM. SIP 16Mbit Flash


Languages

Language:C 86.3%Language:HTML 10.3%Language:JavaScript 1.2%Language:Shell 0.9%Language:Makefile 0.5%Language:CMake 0.3%Language:Python 0.2%Language:C++ 0.1%Language:Perl 0.1%Language:CSS 0.0%Language:Assembly 0.0%Language:Java 0.0%Language:Roff 0.0%Language:NSIS 0.0%Language:GDB 0.0%Language:SmPL 0.0%Language:BASIC 0.0%Language:PLSQL 0.0%Language:Tcl 0.0%Language:Batchfile 0.0%