X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Fstm320518_eval_stlink.cfg;h=153f7e5cbcd4f98ef119cc543ff65b67aa68f504;hb=3bccc77999175494ceb534c172475e509ff99189;hp=804ff2c39c3eb567aae2eed35f3869970ef1af18;hpb=caeb05720595287e9a9865ff5f9e764c92be152d;p=fw%2Fopenocd diff --git a/tcl/board/stm320518_eval_stlink.cfg b/tcl/board/stm320518_eval_stlink.cfg index 804ff2c39..153f7e5cb 100644 --- a/tcl/board/stm320518_eval_stlink.cfg +++ b/tcl/board/stm320518_eval_stlink.cfg @@ -1,10 +1,14 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + # STM320518-EVAL: This is an STM32F0 eval board with a single STM32F051R8T6 # (64KB) chip. # http://www.st.com/internet/evalboard/product/252994.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 8KB set WORKAREASIZE 0x2000 @@ -12,7 +16,6 @@ set WORKAREASIZE 0x2000 # chip name set CHIPNAME STM32F051R8T6 -source [find target/stm32f0x_stlink.cfg] +source [find target/stm32f0x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only