ao-flash-stm32f0x − flash a program to a STM32F0x-based AltOS device using openocd
ao-flash-stm32f0x file.elf
ao-flash-stm32f0x loads the specified .elf file into the target device flash memory.
ao-flash-stm32f0x is a simple script that passes the correct arguments to openocd to load a file into the target device via a connected STlink debugging dongle.
Keith Packard