openocd/tcl/board/stm320518_eval_stlink.cfg

22 lines
455 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# 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.cfg]
transport select hla_swd
# increase working area to 8KB
set WORKAREASIZE 0x2000
# chip name
set CHIPNAME STM32F051R8T6
source [find target/stm32f0x.cfg]
reset_config srst_only