1 unstable release
Uses old Rust 2015
0.0.1 | Dec 12, 2017 |
---|
#5 in #armv8
4KB
Rust ARM low level library
Low level abstraction of ARM architecture specific features.
Quick start
Note: for now this crate was checked only against ARMv7 targets.
Setup cross toolchains:
rustup install nightly
rustup default nightly
rustup target add armv7-unknown-linux-gnueabihf
cat >>~/.cargo/config <<EOF
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
EOF
You need to install arm-linux-gnueabihf-gcc
separately for cross-linking.
More details about cross-compiling: https://github.com/japaric/rust-cross
Build:
cargo build --target=armv7-unknown-linux-gnueabihf
TODO
- basic SMP for AArch64 and AArch32
- EL1 registers
- EL2 registers
- EL3 registers
Documentation
cargo doc --open --target=armv7-unknown-linux-gnueabihf
License
The library is distributed under the terms of MIT license