diff options
author | Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> | 2012-02-07 09:53:22 -0500 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-02-16 08:56:18 +0000 |
commit | b0ef9cf1171c2decd6c12536b8ae61e64f8931b7 (patch) | |
tree | 9f8dd47fd2751c4a186e1d4e688b9be2082066c5 /tcl | |
parent | 7c4f3b1ff5ac607b71f90786a6209bf18d6c5434 (diff) | |
download | riscv-openocd-b0ef9cf1171c2decd6c12536b8ae61e64f8931b7.zip riscv-openocd-b0ef9cf1171c2decd6c12536b8ae61e64f8931b7.tar.gz riscv-openocd-b0ef9cf1171c2decd6c12536b8ae61e64f8931b7.tar.bz2 |
Add stm32f0x target
Change-Id: I4abfef4459b7e2780d17bdd7623fd1ef797cc8ea
Signed-off-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
Reviewed-on: http://openocd.zylin.com/437
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/target/stm32f0x_stlink.cfg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tcl/target/stm32f0x_stlink.cfg b/tcl/target/stm32f0x_stlink.cfg new file mode 100644 index 0000000..3a007d4 --- /dev/null +++ b/tcl/target/stm32f0x_stlink.cfg @@ -0,0 +1,13 @@ +# +# STM32f1x stlink pseudo target +# + +set CHIPNAME stm32f0x +set CPUTAPID 0x0BB11477 +set WORKAREASIZE 0x400 + +source [find target/stm32_stlink.cfg] + +# stm32f0x family uses stm32f1x driver +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME stm32f1x 0 0 0 0 $_TARGETNAME |