]> git.sur5r.net Git - openocd/blob - tcl/board/stm320518_eval_stlink.cfg
Use hardware reset and connect under reset on boards with ST-LINK/V2, as
[openocd] / tcl / board / stm320518_eval_stlink.cfg
1 # STM320518-EVAL: This is an STM32F0 eval board with a single STM32F051R8T6
2 # (64KB) chip.
3 # http://www.st.com/internet/evalboard/product/252994.jsp
4 #
5 # This is for using the onboard STLINK/V2
6
7 source [find interface/stlink-v2.cfg]
8
9 # increase working area to 8KB
10 set WORKAREASIZE 0x2000
11
12 # chip name
13 set CHIPNAME STM32F051R8T6
14
15 source [find target/stm32f0x_stlink.cfg]
16
17 # use hardware reset, connect under reset
18 reset_config srst_only srst_nogate