#!/bin/bash arm-none-eabi-size Debug/S3467-MiniBuoy-BT-Sensor-Software.elf arm-none-eabi-objcopy -O binary Debug/S3467-MiniBuoy-BT-Sensor-Software.elf Debug/S3467-MiniBuoy-BT-Sensor-Software.bin st-flash write Debug/S3467-MiniBuoy-BT-Sensor-Software.bin 0x8000000