tcl/target: swm050: fix to allow to use with ST-Link 97/5297/2
authorIcenowy Zheng <icenowy@aosc.io>
Mon, 9 Sep 2019 19:32:36 +0000 (03:32 +0800)
committerTomas Vanek <vanekt@fbl.cz>
Thu, 2 Jan 2020 21:17:00 +0000 (21:17 +0000)
commit9c5c3ab3d60285fb7976341031705d0340c5fe33
treee87c34527c96ebf81d43aff21aacada574700525
parent2dc88e1479f29ef0141b05bfcd907ad9a3e2d54c
tcl/target: swm050: fix to allow to use with ST-Link

Currently the code assumes the adapter uses raw SWD, and the expected ID
code of the CPU is even wrong. An adapter speed is also not specified.
All these prevents the config file to be used with ST-Link.

Fix the config file, to allow it to be used with ST-Link.

Change-Id: I1244320fabfe8ee23da5a56a592dbeddc72cc8d5
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-on: http://openocd.zylin.com/5297
Tested-by: jenkins
Reviewed-by: Caleb Szalacinski <contact@skiboy.net>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
tcl/target/swm050.cfg