diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-04 21:48:21 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-09 09:49:01 +0000 |
commit | 327fafc6a22f5ff22c591c1ca345d3910022cfec (patch) | |
tree | 69f01913941be28bba840bd6a6f2ae83ab4bf79d /tcl/target/stm32f4x_stlink.cfg | |
parent | 51f06253ade645ab64303d1be3bfe32611a27fd0 (diff) | |
download | riscv-openocd-327fafc6a22f5ff22c591c1ca345d3910022cfec.zip riscv-openocd-327fafc6a22f5ff22c591c1ca345d3910022cfec.tar.gz riscv-openocd-327fafc6a22f5ff22c591c1ca345d3910022cfec.tar.bz2 |
cfg: add stlink pseudo stm32 targets
Change-Id: I71253c2090162b1214bbbb37396735bb9128f920
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/334
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'tcl/target/stm32f4x_stlink.cfg')
-rw-r--r-- | tcl/target/stm32f4x_stlink.cfg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tcl/target/stm32f4x_stlink.cfg b/tcl/target/stm32f4x_stlink.cfg new file mode 100644 index 0000000..ec5fb9e --- /dev/null +++ b/tcl/target/stm32f4x_stlink.cfg @@ -0,0 +1,13 @@ +# +# STM32f4x stlink pseudo target +# + +set CHIPNAME stm32f4x +set CPUTAPID 0x2ba01477 +set WORKAREASIZE 0x10000 + +source [find target/stm32_stlink.cfg] + +# stm32f4x family uses stm32f2x driver +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME |