Crates.io | bl702-hal |
lib.rs | bl702-hal |
version | 0.0.3 |
source | src |
created_at | 2022-09-19 10:34:14.636893 |
updated_at | 2022-10-08 07:11:41.102547 |
description | HAL for the Bouffalo Lab BL702 microcontroller family |
homepage | |
repository | https://github.com/9names/bl702-hal |
max_upload_size | |
id | 669024 |
size | 151,242 |
Hardware Abstraction Layer for BL702 RISC-V SoC in embedded Rust.
Working:
TODO:
Install cargo + rust + riscv32imac-unknown-none-elf + cargo-binutils + llvm-tools-preview
(google for instructions, TODO add step-by-step here)
pip install bflb-mcu-tool
cargo objcopy --release --example blinky -- -O binary blinky.bin
bflb-mcu-tool --chipname bl702 --firmware blinky.bin
Serial demo
cargo objcopy --release --example serial -- -O binary serial.bin
bflb-mcu-tool --chipname bl702 --firmware serial.bin
picocom --lower-rts --lower-dtr /dev/ttyUSB0 -b 2000000
We welcome community contributions to this project. Please create a github issue or pull request if you have any issues or wish to contribute.
This project is licensed under both MIT or Mulan PSL v2