Skip to content

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

Notifications You must be signed in to change notification settings

YuzukiHD/TinyMaix-XR806

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published