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