diff --git a/tcl/target/stm32f0x_stlink.cfg b/tcl/target/stm32f0x_stlink.cfg new file mode 100644 index 000000000..3a007d415 --- /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