diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-10-15 12:34:46 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-12-23 21:37:50 +0000 |
commit | a047d87196e829b927b4dc5281981d011fb4c586 (patch) | |
tree | 94cf146c8287d27e76b2f077ad059c7be3df6e2f /tcl | |
parent | b7ea4a616279e2d8d315b2463dc5cf5bbeaf78fc (diff) | |
download | riscv-openocd-a047d87196e829b927b4dc5281981d011fb4c586.zip riscv-openocd-a047d87196e829b927b4dc5281981d011fb4c586.tar.gz riscv-openocd-a047d87196e829b927b4dc5281981d011fb4c586.tar.bz2 |
stlink: use common layout
Even though the stlinkv1 and stlinkv2 use different usb classes they share
the same layout scheme.
Merge the two into a common layout, thus enabling us to support other
adapter layouts.
Change-Id: I7d02c44a7f94ebc7f2cb5428b02ee40294fb430d
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/918
Tested-by: jenkins
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/interface/stlink-v1.cfg | 2 | ||||
-rw-r--r-- | tcl/interface/stlink-v2.cfg | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tcl/interface/stlink-v1.cfg b/tcl/interface/stlink-v1.cfg index af67818..0003183 100644 --- a/tcl/interface/stlink-v1.cfg +++ b/tcl/interface/stlink-v1.cfg @@ -3,7 +3,7 @@ # interface stlink -stlink_layout sg +stlink_layout stlink stlink_device_desc "ST-LINK/V1" stlink_vid_pid 0x0483 0x3744 diff --git a/tcl/interface/stlink-v2.cfg b/tcl/interface/stlink-v2.cfg index 3eee7d9..25e696c 100644 --- a/tcl/interface/stlink-v2.cfg +++ b/tcl/interface/stlink-v2.cfg @@ -3,7 +3,7 @@ # interface stlink -stlink_layout usb +stlink_layout stlink stlink_device_desc "ST-LINK/V2" stlink_vid_pid 0x0483 0x3748 |