tcl/board: add SPDX tag
[fw/openocd] / tcl / board / stm32f429discovery.cfg
index 32c3a81fde61d24d78865cd92568619c7ad3c255..d1b5f5a118d171f19a4b1f38e3cb7b9056304f03 100644 (file)
@@ -1,11 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # This is an STM32F429 discovery board with a single STM32F429ZI chip.
 # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
 #
 
-source [find interface/stlink-v2.cfg]
+source [find interface/stlink.cfg]
+
+transport select hla_swd
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
 
-source [find target/stm32f4x_stlink.cfg]
+source [find target/stm32f4x.cfg]
 
-# use hardware reset, connect under reset supported
-reset_config srst_only srst_nogate
+reset_config srst_only