tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / stlink.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # STMicroelectronics ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-1, STLINK-V3 in-circuit
5 # debugger/programmer
6 #
7
8 adapter driver hla
9 hla_layout stlink
10 hla_device_desc "ST-LINK"
11 hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x374d 0x0483 0x374e 0x0483 0x374f 0x0483 0x3752 0x0483 0x3753 0x0483 0x3754
12
13 # Optionally specify the serial number of ST-LINK/V2 usb device.  ST-LINK/V2
14 # devices seem to have serial numbers with unreadable characters.  ST-LINK/V2
15 # firmware version >= V2.J21.S4 recommended to avoid issues with adapter serial
16 # number reset issues.
17 # eg.
18 # adapter serial "\xaa\xbc\x6e\x06\x50\x75\xff\x55\x17\x42\x19\x3f"