/ tools / scripts / debug / stlink-mod.cfg
stlink-mod.cfg
 1  #
 2  # STMicroelectronics ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-1, STLINK-V3 in-circuit
 3  # debugger/programmer
 4  #
 5  
 6  adapter driver hla
 7  hla_layout stlink
 8  hla_device_desc "ST-LINK"
 9  hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x374d 0x0483 0x374e 0x0483 0x374f 0x0483 0x3752 0x0483 0x3753 0x0483 0x3754
10  
11  # Use specifed debugger (if available)
12  if { [info exists ::env(STLINK_SERIAL) ] } {
13          adapter serial  $::env(STLINK_SERIAL)
14  }