source [find interface/stlink-v2.cfg]
+transport select hla_swd
+
# increase working area to 8KB
set WORKAREASIZE 0x2000
# chip name
set CHIPNAME STM32F051R8T6
-source [find target/stm32f0x_stlink.cfg]
+source [find target/stm32f0x.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate