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> |
||
|---|---|---|
| .. | ||
| mp_cdc_common.c | ||
| mp_usbd.c | ||
| mp_usbd.h | ||
| mp_usbd_descriptor.c | ||
| mp_usbd_internal.h | ||
| tusb_config.h | ||