#!/bin/sh arm-none-eabi-objcopy -O binary proj2.elf proj2.bin st-flash --reset --connect-under-reset write proj2.bin 0x08000000