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.
 
 
 
 
 
 

21 lines
361 B

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