radomctld/firmware/flash-dfu.sh

5 lines
218 B
Bash
Raw Normal View History

2024-10-04 16:20:36 +02:00
#!/bin/bash
cargo build --release && \
arm-none-eabi-objcopy -O binary ../target/thumbv7em-none-eabihf/release/radomctl-firmware radomctl-firmware.bin && \
dfu-util --alt 0 -s 0x08000000:leave -D radomctl-firmware.bin