micropython/shared/tinyusb
Luca Burelli e0784750aa shared/tinyusb: Avoid symbol clash on targets with external TinyUSB.
On targets that provide a reference TinyUSB implementation, like ESP32,
the SDK already defines and implements standard callback functions such
as tud_cdc_line_state_cb(). This causes a symbol clash when enabling
shared implementations like the MicroPython 1200 touch functionality.

To avoid this symbol clash, add an optional macro to allow ports to
use a different function name in the shared implementation.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2023-07-20 23:55:42 +10:00
..
mp_cdc_common.c shared/tinyusb: Avoid symbol clash on targets with external TinyUSB. 2023-07-20 23:55:42 +10:00
mp_usbd.c all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
mp_usbd.h shared/tinyusb: Allow max USB descriptor string to be configured. 2023-04-04 11:57:25 +10:00
mp_usbd_descriptor.c shared/tinyusb: Allow max USB descriptor string to be configured. 2023-04-04 11:57:25 +10:00
mp_usbd_internal.h shared/tinyusb: Further refactor static USB device implementation. 2022-11-11 16:47:36 +11:00
tusb_config.h shared/tinyusb: Revert setting of CFG_TUD_CDC_EP_BUFSIZE to 256. 2023-04-21 18:17:34 +10:00