5 lines
218 B
Bash
Executable file
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 |