Quick start with the Wio Lite RISC-V board
rust-std
components (pre-compiledcore
crate) for the RISC-V target. Run:
rustup target add riscv32imac-unknown-none-elf
-
objcopy from RISC-V toolchain from e.g riscv-binutils-gdb
cargo build --examples --release --all-features
- Extract the binary
riscv-nuclei-elf-objcopy -O binary target/riscv32imac-unknown-none-elf/release/blinky firmware.bin
- Flash using
dfu-util
:
dfu-util -a 0 -s 0x08000000:leave -D firmware.bin