+# SPDX-License-Identifier: GPL-2.0-or-later
+
# STM3241G-EVAL: This is an STM32F4 eval board with a single STM32F417IGH6
# (1024KB) chip.
# http://www.st.com/internet/evalboard/product/252216.jsp
#
# 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
# chip name
set CHIPNAME STM32F417IGH6
-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