source /usr/share/openocd/scripts/interface/stlink-v2.cfg
source /usr/share/openocd/scripts/target/stm32f1x.cfg
reset_config srst_nogate