1. Allwinner D1s
D1s is a cost-effective AIoT chip launched by Allwinner for the intelligent decoding market.
- Processor: Alibaba Pingtouge C906 processor with 64bit RISC-V architecture
- Memory: Built-in 64M DDR2
- Audio and video: A large number of self-developed audio and video codec-related IPs can support full-format video decoding such as H.265, H.264, MPEG-½/4, and JPEG
- Peripherals: Support ADC, DAC, I2S, PCM, DMIC, OWA and other audio interfaces
It can be widely used in smart home panel, smart commercial display, industrial control, vehicle and other products.
2. Dongshan Pai D1s development board
3. Compile the tool chain
git clone https://gitee.com/weidongshan/eLinuxCore_dongshannezhastu.git
cd eLinuxCore_dongshannezhastu
git submodule update --init --recursive
Add to environment variables:
export PATH=$PATH:/home/mculover666/develop/dongshanpi-d1s/eLinuxCore_dongshannezhastu/toolchain/riscv64-glibc-gcc-thead_20200702/bin
4. Hello World
Compile:
riscv64-unknown-linux-gnu-gcc main.c -o hello
Push to the development board via adb:
adb push hello /root
Execute on the development board: