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

source [find interface/stlink-v2.cfg]
#hla_serial "000000000001"
transport select hla_swd

source [find target/stm32f1x.cfg]
#adapter_khz 10000

init
arm semihosting enable

#flash bank sysflash.alias stm32f0x 0x00000000 0 0 0 $_TARGETNAME
#program main.elf