OpenOCD st-link config files now saved on git

This commit is contained in:
bsongis
2015-06-09 21:15:11 +02:00
parent 8365a8dbaf
commit 3ce0eecbb3
3 changed files with 71 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#
# STM32f2x stlink pseudo target
#
if { [info exists CHIPNAME] == 0 } {
set CHIPNAME stm32f2x
}
if { [info exists CPUTAPID] == 0 } {
set CPUTAPID 0x2ba01477
}
if { [info exists WORKAREASIZE] == 0 } {
set WORKAREASIZE 0x10000
}
source [find stm32_stlink.cfg]
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME