Thanks to visit codestin.com
Credit goes to github.com

Skip to content

silverfish1/Kendryte-K210-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Working with kendryte K210

Information

Downloads

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

Build

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 && make

In 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.4

Flash

Add 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.bin

Flash and open term

python3 kflash.py -p /dev/ttyUSB0 -t firmware.bin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published