From a09bb27e236b1bc1fc824c0e6e8e7c89f4a7db8b Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Thu, 3 May 2012 16:09:09 +0100 Subject: [PATCH] cfg: add stm320518-eval onboard stlink config Change-Id: Ie92a87ce077c538fdd04af37c798e0a8054b423a Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/610 Reviewed-by: Freddie Chopin Tested-by: jenkins Reviewed-by: Xiaofan --- tcl/board/stm320518_eval_stlink.cfg | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tcl/board/stm320518_eval_stlink.cfg diff --git a/tcl/board/stm320518_eval_stlink.cfg b/tcl/board/stm320518_eval_stlink.cfg new file mode 100644 index 000000000..a832984d0 --- /dev/null +++ b/tcl/board/stm320518_eval_stlink.cfg @@ -0,0 +1,15 @@ +# STM320518-EVAL: This is an STM32F0 eval board with a single STM32F051R8T6 +# (64KB) chip. +# http://www.st.com/internet/evalboard/product/252994.jsp +# +# This is for using the onboard STLINK/V2 + +source [find interface/stlink-v2.cfg] + +# increase working area to 8KB +set WORKAREASIZE 0x2000 + +# chip name +set CHIPNAME STM32F051R8T6 + +source [find target/stm32f0x_stlink.cfg]