X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Fstm32f4discovery.cfg;h=714f1e90322916c90b4b6f05642fd2ff30427002;hb=4157732bd84c4e9e4b55357e1dc9a96078a35ee1;hp=ae54e18c470c7aa03b90741528423d4a13d65c91;hpb=caeb05720595287e9a9865ff5f9e764c92be152d;p=fw%2Fopenocd diff --git a/tcl/board/stm32f4discovery.cfg b/tcl/board/stm32f4discovery.cfg index ae54e18c4..714f1e903 100644 --- a/tcl/board/stm32f4discovery.cfg +++ b/tcl/board/stm32f4discovery.cfg @@ -1,9 +1,15 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + # This is an STM32F4 discovery board with a single STM32F407VGT6 chip. # http://www.st.com/internet/evalboard/product/252419.jsp -source [find interface/stlink-v2.cfg] +source [find interface/stlink.cfg] + +transport select hla_swd + +# increase working area to 64KB +set WORKAREASIZE 0x10000 -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