jtag: add support for some probes that are mostly compatible with opendous
[openocd/ntfreak.git] / tcl / target / stm32f1x_stlink.cfg
blob9faaf6a0b34d5b7b4e11062f0f8834f4af32fe26
2 # STM32f1x stlink pseudo target
5 if { [info exists CHIPNAME] == 0 } {
6    set CHIPNAME stm32f1x
9 if { [info exists CPUTAPID] == 0 } {
10    set CPUTAPID 0x1ba01477
13 if { [info exists WORKAREASIZE] == 0 } {
14    set WORKAREASIZE 0x4000
17 source [find target/stm32_stlink.cfg]
19 set _FLASHNAME $_CHIPNAME.flash
20 flash bank $_FLASHNAME stm32f1x 0 0 0 0 $_TARGETNAME