Added test application for flashing
This commit is contained in:
parent
77eebdf795
commit
b2830a1fbc
5 changed files with 115 additions and 3 deletions
5
firmware/flash-dfu.sh
Executable file
5
firmware/flash-dfu.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue