radomctld/firmware/flash-dfu.sh
2024-10-04 16:20:36 +02:00

5 lines
218 B
Bash
Executable file

#!/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