tcl/target/at91sama5d2.cfg: allow choice of SWD instead of JTAG
commit5f6b25aa91eb81903aed128ee304ffc69e0492f3
authorPeter Lawrence <majbthrd@gmail.com>
Wed, 15 Nov 2023 15:58:24 +0000 (15 09:58 -0600)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 10 Dec 2023 13:34:53 +0000 (10 13:34 +0000)
treef46d8077fdd39028485dd1223e997e1494cfcb1d
parent2bd40b0bf930459f0fc3dbcbde3ac2f40ff56e4e
tcl/target/at91sama5d2.cfg: allow choice of SWD instead of JTAG

The target supports both SWD and JTAG, but the existing cfg file
only supports JTAG.  Using the standard [using_jtag] mechanism,
the user would now have a choice.

Change-Id: Ic6adb68090422812d591f6bf5b945ac10f323c74
Signed-off-by: Peter Lawrence <majbthrd@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8020
Reviewed-by: Jörg Wunsch <openocd@uriah.heep.sax.de>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/target/at91sama5d2.cfg