micropython/shared
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
..
libc all: Rename the "NORETURN" macro to "MP_NORETURN". 2025-05-13 10:36:47 +10:00
memzip ports: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
netutils shared/netutils: Cast the ticks value before printing. 2025-07-25 11:00:08 +10:00
readline all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
runtime shared/runtime: Set exit code according to the SystemExit exception. 2025-11-04 16:47:19 +11:00
timeutils shared/timeutils: Standardize supported date range on all platforms. 2025-07-09 11:54:21 +10:00
tinyusb shared/tinyusb/mp_usbd: Reorder the mp_usbd_init/deinit functions. 2025-11-19 10:16:48 +11:00
README.md lib,shared: Update README's based on contents of these dirs. 2021-07-13 00:17:02 +10:00

This directory contains libraries, utilities and helper code developed specifically for this project. The code is intended to be portable and usable by any port.