Skip to content

About

Rust embedded hardware abstract layer (HAL) library for Allwinner chips

Resources

Stars

15 stars

Watchers

0 watching

Forks

Repository files navigation

Allwinner-HAL

Allwinner-HAL provides Rust hardware support for Allwinner SoCs. The repository contains the following projects:

Project Description Package Documentation
allwinner-hal no_std peripheral drivers and hardware abstractions crates.io Documentation
allwinner-rt Bare-metal startup and runtime support crates.io Documentation
rfel Host-side FEL utility for memory access, code execution, DDR initialization, and SPI flash operations crates.io Documentation

Hardware support

Chip allwinner-hal allwinner-rt rfel
D1 / D1-H Supported Supported Supported
D1s / F133 Compatible, not tested Supported Supported
V821 Not yet supported CPU runtime supported Supported
F101-S2 / F101-S3 GPIO, UART1, CCU and full-speed USB device RV32 C907 SRAM runtime Supported

Using rfel

The workspace provides a Cargo alias for running the FEL utility:

cargo rfel version

See the rfel README for memory, SPI flash, and firmware loading commands.

License

This repository is dual-licensed under the MIT License and the Mulan PSL v2.

References

About

Rust embedded hardware abstract layer (HAL) library for Allwinner chips

Resources

Stars

15 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages