This repo stores examples for this article (Russian). I also started translating it into English, the first part is available on medium. Also you can read article Russian version outside habr in md format here.
-
Interfaces
-
CSI Camera
-
OTG Camera
-
NN
-
Hardware accelerated
- []
-
Other
Examples located in Projects. Each project/dir have a Makefile that have a build directive to compile project. It use ${COMPILER}/riscv64-unknown-linux-musl-g++
as compiler; so assign env variable COMPILER with path to SDK location.
You can enable some pins "in hot" by using devmem (bin in Tools) or changing U-Boot init source in build/boards/sg200x/sg2002_licheervnano_sd/u-boot/cvi_board_init.c
. Pin map you can find in GPIO README.