aboutsummaryrefslogtreecommitdiff
path: root/fw/openocd.cfg
blob: ce164b7e61c874a7e41909a368ee578d9a2e54a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
telnet_port 4445
gdb_port 3334
tcl_port 6667

source [find interface/stlink-v2.cfg]
#interface jlink
#interface stlink-v2
#adapter_khz 10000
#transport select swd

#source /usr/share/openocd/scripts/target/stm32f0x.cfg
source [find target/stm32f0x_stlink.cfg]

init
arm semihosting enable

#flash bank sysflash.alias stm32f0x 0x00000000 0 0 0 $_TARGETNAME