micropython/shared/tinyusb
Angus Gratton 8d05a8fc8a shared/tinyusb/mp_usbd: Reorder the mp_usbd_init/deinit functions.
Not a functional change, but makes it easier to see that mp_usbd_init() is
available regardless of whether MICROPY_HW_ENABLE_USB_RUNTIME_DEVICE is
set.

Also adds a no-op inline mp_usbd_deinit() implementation, which means both
a port's calls to mp_usbd_init()/deinit() can both be guarded on the same
MICROPY_HW_ENABLE_USBDEV.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2025-11-19 10:16:48 +11:00
..
mp_usbd_cdc.c shared/tinyusb/mp_usbd_cdc: Rewrite USB CDC TX loop. 2025-09-10 12:35:10 +10:00
mp_usbd_cdc.h esp32: Add automatic bootloader handling for S2 and S3. 2024-10-07 11:06:57 +11:00
mp_usbd_descriptor.c shared/tinyusb: Set MSC max endpoint size based on device speed. 2024-12-10 10:26:27 +11:00
mp_usbd_runtime.c shared/tinyusb: Fix build errors with CDC support disabled. 2025-09-09 10:29:38 +10:00
mp_usbd.c shared/tinyusb: Use device event hook to schedule USB task. 2025-05-26 11:15:33 +10:00
mp_usbd.h shared/tinyusb/mp_usbd: Reorder the mp_usbd_init/deinit functions. 2025-11-19 10:16:48 +11:00
tusb_config.h shared/tinyusb: Use new persistent-tx-fifo configure interface. 2024-09-26 23:13:50 +10:00