From: Andreas Sandberg Date: Wed, 8 Sep 2021 22:14:34 +0000 (+0100) Subject: hla: Increase HLA_MAX_USB_IDS X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=00b16b294faad9102db8a56df537be443f74d18f;p=fw%2Fopenocd hla: Increase HLA_MAX_USB_IDS 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 Change-Id: Ifad8e7ef67b930edbb5421730f00eb3390812f06 Reviewed-on: https://review.openocd.org/c/openocd/+/6554 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI Reviewed-by: Antonio Borneo --- diff --git a/src/jtag/hla/hla_interface.h b/src/jtag/hla/hla_interface.h index a1c95cde1..c882acf48 100644 --- a/src/jtag/hla/hla_interface.h +++ b/src/jtag/hla/hla_interface.h @@ -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 { /** */