X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Fstm32ldiscovery.cfg;h=d760edaba796c74b538efc25845c8f64245bcc29;hb=4157732bd84c4e9e4b55357e1dc9a96078a35ee1;hp=331811927e3715966bdb9197b800ad9a00406fbe;hpb=80649fc3d5ce5da7c29cc645109f72e012187c72;p=fw%2Fopenocd diff --git a/tcl/board/stm32ldiscovery.cfg b/tcl/board/stm32ldiscovery.cfg index 331811927..d760edaba 100644 --- a/tcl/board/stm32ldiscovery.cfg +++ b/tcl/board/stm32ldiscovery.cfg @@ -1,10 +1,13 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + # This is an STM32L discovery board with a single STM32L152RBT6 chip. # http://www.st.com/internet/evalboard/product/250990.jsp -source [find interface/stlink-v2.cfg] +source [find interface/stlink.cfg] + +transport select hla_swd set WORKAREASIZE 0x4000 -source [find target/stm32lx_stlink.cfg] +source [find target/stm32l1.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only