tcl/target/stm32l4x: set default WORKAREASIZE to smallest device
[fw/openocd] / tcl / board / stm32429i_eval_stlink.cfg
index ad3ea808915ca269e34fac3cf2855fd6a0a5f369..010d37198532592b2454b1c7b047d29a1069af65 100644 (file)
@@ -4,7 +4,9 @@
 #
 # 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 128KB
 set WORKAREASIZE 0x20000
@@ -12,7 +14,6 @@ set WORKAREASIZE 0x20000
 # chip name
 set CHIPNAME STM32F429NIH6
 
-source [find target/stm32f4x_stlink.cfg]
+source [find target/stm32f4x.cfg]
 
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate
+reset_config srst_only