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 <prudhomme.remi@gmail.com>
Reviewed-on: http://openocd.zylin.com/2317
Tested-by: jenkins
Reviewed-by: Andrey Yurovsky <yurovsky@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Rémi PRUD'HOMME 2014-09-24 22:50:51 +02:00 committed by Spencer Oliver
parent 0187ced9ed
commit b55ca1ad27
1 changed files with 12 additions and 0 deletions

12
tcl/board/stm32l0discovery.cfg Executable file
View File

@ -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