This is an automated email from the ASF dual-hosted git repository.
kasjer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 3b65df969 tinyusb: Add missing syscfg definition
3b65df969 is described below
commit 3b65df9694d3442ee88f4580658de5c313e3a5b9
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Tue Sep 1 11:42:04 2026 +0200
tinyusb: Add missing syscfg definition
Values:
USBD_CDC_CONSOLE_DATA_OUT_EP,
USBD_CDC_CONSOLE_DATA_IN_EP,
USBD_CDC_CONSOLE_NOTIFY_EP,
were referenced in code but definition was missing,
makeing it impossible to have console on usb
and anothere CDC function enumerated.
When CONSOLE_USB was selected and additional
CDC was enabled (cdc_uart) configuration descriptor
had duplicated enpoint numbers.
With definition provided is is possible to
have USB device with multiply CDC functions
enabled.
Signed-off-by: Jerzy Kasenberg <[email protected]>
---
hw/usb/tinyusb/std_descriptors/syscfg.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/hw/usb/tinyusb/std_descriptors/syscfg.yml
b/hw/usb/tinyusb/std_descriptors/syscfg.yml
index 2fd84026d..be42fda08 100644
--- a/hw/usb/tinyusb/std_descriptors/syscfg.yml
+++ b/hw/usb/tinyusb/std_descriptors/syscfg.yml
@@ -134,6 +134,16 @@ syscfg.defs:
description: CDC endpoint IN FIFO size
value:
+ USBD_CDC_CONSOLE_DATA_OUT_EP:
+ description: CDC CONSOLE data out endpoint number
+ value:
+ USBD_CDC_CONSOLE_DATA_IN_EP:
+ description: CDC CONSOLE data out endpoint number
+ value:
+ USBD_CDC_CONSOLE_NOTIFY_EP:
+ description: CDC CONSOLE notify endpoint number
+ value:
+
USBD_CDC_DESCRIPTOR_STRING:
description: String for CDC interface
value: