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