gd32vf103-hal

Crates.iogd32vf103-hal
lib.rsgd32vf103-hal
version0.0.6
sourcesrc
created_at2019-09-09 14:49:01.779884
updated_at2021-03-14 13:50:58.284936
descriptionHardware abstract layer (HAL) for RISC-V microcontroller GD32VF103
homepage
repositoryhttps://github.com/luojia65/gd32vf103-hal
max_upload_size
id163546
size142,984
Vadim Kaushan (Disasm)

documentation

https://docs.rs/gd32vf103-hal

README

gd32vf103-hal

Hardware abstract layer (HAL) for the GD32VF103 RISC-V microcontroller

crates.io Released API docs

This project is under early stage development; you may find example project and images here.

Matrix: #gd32v-rust:matrix.org

See also: gd32vf103xx-hal

Use this project

To use this HAL project, you may need Rust installed. Checkout rustup.rs if you don't have one. You do not need to install GNU toolchain if you are an application developer.

Examples may be found at gd32vf103-example.

Helps on assembling

ALERT: this section is only for HAL project itself. If you are an application developer, you do not need to build this binary by yourself.

The assemble script requires you have riscv32imac-unknown-elf-gcc installed.

Configure and compile GNU toolchain using:

../configure --prefix=/opt/riscv32 --with-arch=rv32imac --with-abi=ilp32
make && make install

Run assemble script: (run on any path is okay)

./assemble.sh

License

This project is licensed under either of

Commit count: 201

cargo fmt