https://kendryte.com/downloads/
- SDK for first test : Kendryte K210 Standalone SDK
- Toolchain as per the OS : RISC-V 64bit toolchain for Kendryte K210_ubuntu_amd64
Example Code
https://github.com/kendryte/kendryte-standalone-demo/tree/master/hello_world
Python application for firmware flashing
https://github.com/kendryte/kflash.py
Copy the hello_world example in "kendryte-standalone-sdk-xx/src"
To build the project
cd kendryte-standalone-sdk-xx
mkdir build
cd build
cmake .. -DPROJ=hello_world -DTOOLCHAIN=/YOUR_PATH/kendryte-toolchain/bin && makeIn case of error while loading shared libraries: libmpfr.so.4
sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so.4Add user to dialout group on Linux for serial port access
sudo usermod -a -G dialout $(whoami)Logout and login
python3 kflash.py -p /dev/ttyUSB0 firmware.binFlash and open term
python3 kflash.py -p /dev/ttyUSB0 -t firmware.bin