#
# This is for using the onboard STLINK/V2
-source [find interface/stlink-v2.cfg]
+source [find interface/stlink.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]
+
+reset_config srst_only