#!/bin/bash cargo objcopy --release -- -O binary firmware.bin python2 ./dfu.py -b 0x08000000:firmware.bin -D 0x0483:0xdf11 firmware.dfu