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 |
||
allwinner-rt |
Bare-metal startup and runtime support | ||
rfel |
Host-side FEL utility for memory access, code execution, DDR initialization, and SPI flash operations |
| 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 |
The workspace provides a Cargo alias for running the FEL utility:
cargo rfel versionSee the rfel README for memory, SPI flash, and firmware loading
commands.
This repository is dual-licensed under the MIT License and the Mulan PSL v2.