From: Rémi PRUD'HOMME Date: Wed, 24 Sep 2014 20:50:51 +0000 (+0200) Subject: stm32: Add config file for a new board STM32L052 dsicovery X-Git-Tag: v0.9.0-rc1~246 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b55ca1ad27d39cef37a9dc1801fc2706a26d63f7;p=openocd stm32: Add config file for a new board STM32L052 dsicovery this board use STLink-V2-1, the STM32L1xx use the STLink-V2. Change-Id: Ie58f45affcb1e9a6fed711b48c3c03b5035ab2b2 Signed-off-by: Rémi PRUD'HOMME Reviewed-on: http://openocd.zylin.com/2317 Tested-by: jenkins Reviewed-by: Andrey Yurovsky Reviewed-by: Spencer Oliver --- diff --git a/tcl/board/stm32l0discovery.cfg b/tcl/board/stm32l0discovery.cfg new file mode 100755 index 00000000..e1be9a88 --- /dev/null +++ b/tcl/board/stm32l0discovery.cfg @@ -0,0 +1,12 @@ +# This is an STM32L053 discovery board with a single STM32L053 chip. +# http://www.st.com/web/en/catalog/tools/PF260319 + +source [find interface/stlink-v2-1.cfg] + +transport select hla_swd + +set WORKAREASIZE 0x2000 +source [find target/stm32l.cfg] + +# use hardware reset, connect under reset +reset_config srst_only srst_nogate