From: openocd-gerrit <ope...@us...> - 2025-06-13 16:27:22
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 207ecaab33b985b16a067fc2c054a4f2cc161dc3 (commit) from 88aec4b49939a3f29fd3d9d5e8954e5bffeda8c9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 207ecaab33b985b16a067fc2c054a4f2cc161dc3 Author: Marc Schink <de...@za...> Date: Wed Oct 9 11:14:21 2024 +0200 adapter: Deprecate Gateworks GW16012 driver The adapter is not available for years now. There is also no information about this device from Gateworks. The poor hardware availability and the lack of users prevents testing, maintenance and adaptations to future changes. Mark the adapter as deprecated as a first step to give potential users the opportunity to upgrade the hardware until the next OpenOCD release. Change-Id: I037325a6b018b26608733a36bef30db2785858f8 Signed-off-by: Marc Schink <de...@za...> Reviewed-on: https://review.openocd.org/c/openocd/+/8651 Tested-by: jenkins Reviewed-by: Antonio Borneo <bor...@gm...> diff --git a/configure.ac b/configure.ac index 9561f2ba0..0bac37e5d 100644 --- a/configure.ac +++ b/configure.ac @@ -862,6 +862,11 @@ AS_IF([test "x$enable_amtjtagaccel" != "xno"], [ echo AC_MSG_WARN([Amontec JTAG-Accelerator adapter is deprecated and support will be removed in the next release!]) ]) +AS_IF([test "x$build_gw16012" = "xyes"], [ + echo + echo + AC_MSG_WARN([Gateworks GW16012 JTAG adapter is deprecated and support will be removed in the next release!]) +]) echo echo diff --git a/doc/openocd.texi b/doc/openocd.texi index 04fa77bd4..4ad66ee5f 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -2929,6 +2929,8 @@ image. To be used with USB-Blaster II only. @end deffn @deffn {Interface Driver} {gw16012} +@b{Note: This adapter is deprecated and support will be removed in the next release!} + Gateworks GW16012 JTAG programmer. This has one driver-specific command: diff --git a/src/jtag/drivers/gw16012.c b/src/jtag/drivers/gw16012.c index 805065f1f..98f775422 100644 --- a/src/jtag/drivers/gw16012.c +++ b/src/jtag/drivers/gw16012.c @@ -461,6 +461,8 @@ static int gw16012_init(void) { uint8_t status_port; + LOG_WARNING("This adapter is deprecated and support will be removed in the next release!"); + if (gw16012_init_device() != ERROR_OK) return ERROR_JTAG_INIT_FAILED; ----------------------------------------------------------------------- Summary of changes: configure.ac | 5 +++++ doc/openocd.texi | 2 ++ src/jtag/drivers/gw16012.c | 2 ++ 3 files changed, 9 insertions(+) hooks/post-receive -- Main OpenOCD repository |