#!/bin/bash cd build st-flash write main.bin 0x8000000 cd ..