#!/bin/bash


echo "loading $1 to RSM device"
stm32flash  -w $1  -b 115200 -g 0x0 /dev/ttyUSB0 
#minicom -D /dev/ttyS0 -c on
putty usb-serial

