1.8 KiB
Maix Go / K210 stuff
First, get the Kendryte C toolchain and copy or symlink the contents of the
src/
folder to a checkout of https://github.com/sipeed/LicheeDan_K210_examples.git
.
Then to build a certain project do:
mkdir build && cd build
cmake .. -DPROJ=<ProjectName> -DTOOLCHAIN=/opt/riscv-toolchain/bin && make
You will get 2 files, build/<ProjectName>
and build/<ProjectName>.bin
. The former
is an ELF executable, the latter a raw binary that can be flashed or written to
0x80000000 in SRAM and directly executed.
Documentation
Additional register documentation that is not in the datasheet can be found here:
- K210 memory map - A rough memory map for the Kendryte K210 (as used on the Sipeed Maix boards)
- OTP memory map - Some random notes about the layout of the Kendryte K210 OTP memory
- LicheeDan / MaixGo on-board peripherals - List of on-board peripherals and chips for the various boards with a K210
External:
- k210.svd - Peripheral description for rust K210 BSP (k210-pac project)
Projects
glyph_mapping
Variation of the DVP
sample that processes the camera input through a simple
DOS 8×8 font glyph-mapping algorithm and shows it on the display.
dump_otp
Dumps the contents of the OTP (One-Time Programmable memory) of the K210 CPU to serial output in Intel HEX format.
Other projects
Some other interesting K210-based projects and demos:
- accelerometer - Example of using the MSA300 accelerometer on the MAIX Go board, by GitJer