You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
403 B

  1. #
  2. # STM32f0x stlink pseudo target
  3. #
  4. if { [info exists CHIPNAME] == 0 } {
  5. set CHIPNAME stm32f0x
  6. }
  7. if { [info exists CPUTAPID] == 0 } {
  8. set CPUTAPID 0x0bb11477
  9. }
  10. if { [info exists WORKAREASIZE] == 0 } {
  11. set WORKAREASIZE 0x1000
  12. }
  13. source [find target/stm32_stlink.cfg]
  14. # stm32f0x family uses stm32f1x driver
  15. set _FLASHNAME $_CHIPNAME.flash
  16. flash bank $_FLASHNAME stm32f1x 0 0 0 0 $_TARGETNAME