X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Fstm32ldiscovery.cfg;h=d760edaba796c74b538efc25845c8f64245bcc29;hb=4157732bd84c4e9e4b55357e1dc9a96078a35ee1;hp=a8eac815ec731c9cadd41a39fe6ec46054d46df5;hpb=caeb05720595287e9a9865ff5f9e764c92be152d;p=fw%2Fopenocd diff --git a/tcl/board/stm32ldiscovery.cfg b/tcl/board/stm32ldiscovery.cfg index a8eac815e..d760edaba 100644 --- a/tcl/board/stm32ldiscovery.cfg +++ b/tcl/board/stm32ldiscovery.cfg @@ -1,9 +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 -source [find target/stm32lx_stlink.cfg] +set WORKAREASIZE 0x4000 +source [find target/stm32l1.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only