2 # STM32f1x stlink pseudo target
5 if { [info exists CHIPNAME] == 0 } {
9 if { [info exists CPUTAPID] == 0 } {
10 set CPUTAPID 0x1ba01477
13 if { [info exists WORKAREASIZE] == 0 } {
14 set WORKAREASIZE 0x1000
17 source [find target/stm32_stlink.cfg]
19 set _FLASHNAME $_CHIPNAME.flash
20 flash bank $_FLASHNAME stm32f1x 0 0 0 0 $_TARGETNAME