rp2: Enable support for Python USB devices.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
Angus Gratton
2024-03-13 10:38:05 +11:00
committed by Damien George
parent 9d0d262be0
commit 0baa3b5528
3 changed files with 10 additions and 0 deletions

View File

@@ -52,6 +52,10 @@
#ifndef MICROPY_HW_USB_MSC
#define MICROPY_HW_USB_MSC (0)
#endif
#ifndef MICROPY_HW_ENABLE_USB_RUNTIME_DEVICE
#define MICROPY_HW_ENABLE_USB_RUNTIME_DEVICE (1) // Support machine.USBDevice
#endif
#endif
#ifndef MICROPY_CONFIG_ROM_LEVEL