This is an automated email from Gerrit.

"zapb <d...@zapb.de>" just uploaded a new patch set to Gerrit, which you can 
find at https://review.openocd.org/c/openocd/+/8651

-- gerrit

commit 8abfdb91e92ed3146d102f6229875bea1eea826b
Author: Marc Schink <d...@zapb.de>
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 <d...@zapb.de>

diff --git a/configure.ac b/configure.ac
index 95ac39f2bd..b9dbfe9057 100644
--- a/configure.ac
+++ b/configure.ac
@@ -872,6 +872,11 @@ AS_IF([test "x$build_amtjtagaccel" = "xyes"], [
   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 415e586290..4319fa6baf 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2921,6 +2921,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 d0fe43fdb1..0f6874058f 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;
 

-- 

Reply via email to