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
404 B

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