mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
shared/tinyusb: Add common CDC TX/RX functions.
There are a few TinyUSB CDC functions used for stdio that are currently replicated across a number of ports. Not surprisingly in a couple of cases these have started to diverge slightly, with additional features added to one of them. This commit consolidates a couple of key shared functions used directly by TinyUSB based ports, and makes those functions available to all. Signed-off-by: Andrew Leech <andrew@alelec.net>
This commit is contained in:
committed by
Damien George
parent
3613ad9624
commit
c98789a6d8
@@ -174,8 +174,8 @@ SHARED_SRC_C += $(addprefix shared/,\
|
||||
runtime/stdout_helpers.c \
|
||||
runtime/sys_stdio_mphal.c \
|
||||
timeutils/timeutils.c \
|
||||
tinyusb/mp_cdc_common.c \
|
||||
tinyusb/mp_usbd.c \
|
||||
tinyusb/mp_usbd_cdc.c \
|
||||
tinyusb/mp_usbd_descriptor.c \
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user