diff options
| -rw-r--r-- | ports/nrf/drivers/usb/tusb_config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/nrf/drivers/usb/tusb_config.h b/ports/nrf/drivers/usb/tusb_config.h index 935d9c229..231fe2b86 100644 --- a/ports/nrf/drivers/usb/tusb_config.h +++ b/ports/nrf/drivers/usb/tusb_config.h @@ -31,4 +31,11 @@ // Device configuration #define CFG_TUSB_MCU OPT_MCU_NRF5X +// TinyUSB uses newer style errata functions, but we currently don't have the +// latest nrfx component. So provide macros mapping the new name to the old. +#include "nrfx_usbd_errata.h" +#define nrf52_errata_166 nrfx_usbd_errata_166 +#define nrf52_errata_171 nrfx_usbd_errata_171 +#define nrf52_errata_187 nrfx_usbd_errata_187 + #endif // MICROPY_INCLUDED_NRF_TUSB_CONFIG_H |
