hla: Increase HLA_MAX_USB_IDS
authorAndreas Sandberg <andreas@sandberg.uk>
Wed, 8 Sep 2021 22:14:34 +0000 (23:14 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 18 Sep 2021 15:26:57 +0000 (15:26 +0000)
We are already at the limit for the number of VID/PID pairs declared
in stlink.cfg and stlink-dap.cfg. Increase the maximum number of pairs
from 8 to 16 to make room for a few more devices.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
Change-Id: Ifad8e7ef67b930edbb5421730f00eb3390812f06
Reviewed-on: https://review.openocd.org/c/openocd/+/6554
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/jtag/hla/hla_interface.h

index a1c95cde1a51fe46a3d5ef921907120d9d2b28b9..c882acf48ecb6b67e07ad6e2d31f932b5e60b31c 100644 (file)
@@ -29,7 +29,7 @@ enum e_hl_transports;
 /** */
 extern const char *hl_transports[];
 
-#define HLA_MAX_USB_IDS 8
+#define HLA_MAX_USB_IDS 16
 
 struct hl_interface_param_s {
        /** */