aboutsummaryrefslogtreecommitdiff
path: root/fw/openocd.cfg
blob: 4c52fdc7a3e0113be6e807b9ab571102aba25aad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
telnet_port 4444
gdb_port 3333

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