From b55ca1ad27d39cef37a9dc1801fc2706a26d63f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20PRUD=27HOMME?= Date: Wed, 24 Sep 2014 22:50:51 +0200 Subject: [PATCH] stm32: Add config file for a new board STM32L052 dsicovery MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tcl/board/stm32l0discovery.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tcl/board/stm32l0discovery.cfg 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 -- 2.39.5