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 |
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.
sudo apt install wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev python3-distutils libc6-i386
Notice: Root permission is not necessery for download or extract.
git clone https://github.com/YuzukiHD/TinyMaix-XR806.git
Notice: Root permission is not necessery for build firmware.
Do not use sudo
./setup_toolchain.sh
$ 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`
Can be compiled separately or one command
cd project/demo/tinymaix_mnist/gcc
make lib
make
make image
cd project/demo/tinymaix_mnist/gcc
make build