radomctld/firmware/flash-dfu.sh
2024-10-12 14:37:24 +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