From ea8cb8a5820262fda6ff3ebf4a2e5bfb1b92871c Mon Sep 17 00:00:00 2001 From: Mara Furland Date: Mon, 13 Oct 2025 12:04:46 -0400 Subject: [PATCH] Allow setting USB ISERIAL, IMANUFACTURER, and IPRODUCT Seems bad to not allow users to configure these. --- cores/arduino/USBDesc.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cores/arduino/USBDesc.h b/cores/arduino/USBDesc.h index b55ac20bc..4e5443153 100644 --- a/cores/arduino/USBDesc.h +++ b/cores/arduino/USBDesc.h @@ -58,6 +58,12 @@ #define CDC_RX CDC_ENDPOINT_OUT #define CDC_TX CDC_ENDPOINT_IN +#ifndef IMANUFACTURER #define IMANUFACTURER 1 +#endif +#ifndef IPRODUCT #define IPRODUCT 2 -#define ISERIAL 3 \ No newline at end of file +#endif +#ifndef ISERIAL +#define ISERIAL 3 +#endif