1# SECO SBC-3.5-PX30 board with a single STM32F302VCT6 chip
2# Flashing is possible by connecting the board to an ST-Link via SWD
3# https://edge.seco.com/juno.html
4
5source [find interface/stlink.cfg]
6
7transport select hla_swd
8
9source [find target/stm32f3x.cfg]
10
11reset_config srst_only
12
13$_TARGETNAME configure -event gdb-attach {
14	echo "Debugger attaching: halting execution"
15	reset halt
16	gdb_breakpoint_override hard
17}
18
19$_TARGETNAME configure -event gdb-detach {
20	echo "Debugger detaching: resuming execution"
21	resume
22}
23