micropython/ports/nrf/drivers/usb
Angus Gratton 00ba6aaae4 ports: On cold boot, enable USB after boot.py completes.
For mimxrt, nrf, renesas-ra, rp2 and samd ports, this commit implements
similar behaviour to the stm32 port, where USB is only brought up after
boot.py completes execution.

Currently this doesn't add any useful functionality (and may break
workflows that depend on USB-CDC being live in boot.py), however it's a
precondition for more usable workflows with USB devices defined in
Python (allows setting up USB interfaces in boot.py before the device
enumerates for the first time).

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-02-15 12:31:26 +11:00
..
tusb_config.h nrf: Add tinyusb support for nrf52840. 2019-10-10 20:21:07 +02:00
usb_cdc.c ports: On cold boot, enable USB after boot.py completes. 2024-02-15 12:31:26 +11:00
usb_cdc.h nrf: Add tinyusb support for nrf52840. 2019-10-10 20:21:07 +02:00
usb_descriptors.c ports: Rename USBD_VID/PID config macros to MICROPY_HW_USB_VID/PID. 2021-08-07 23:13:55 +10:00