This is an embendded project of NB-IoT
+ Risc-V MCU
+ E-Paper Display
, with hardware designed at https://oshwhub.com/tnze/the-gift.
- Install Rust https://www.rust-lang.org/learn/get-started
- Install
nightly
toolchain
rustup toolchain install nightly
- Install
riscv32imac-unknown-none-elf
target
rustup target add riscv32imac-unknown-none-elf
- Extract
tools.7z
for other toolchains you will need.
You may also need to add theirsbin
dir into yourPATH
.
cargo b -r
riscv-nuclei-elf-objcopy -O binary target\riscv32imac-unknown-none-elf\release\the-gift firmware.bin
dfu-util -a 0 -s 0x08000000:leave -D firmware.bin