We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c39606 commit 87344ffCopy full SHA for 87344ff
ports/mimxrt10xx/supervisor/usb.c
@@ -49,6 +49,10 @@ void init_usb_hardware(void) {
49
phytx &= ~(USBPHY_TX_D_CAL_MASK | USBPHY_TX_TXCAL45DM_MASK | USBPHY_TX_TXCAL45DP_MASK);
50
phytx |= USBPHY_TX_D_CAL(0x0C) | USBPHY_TX_TXCAL45DP(0x06) | USBPHY_TX_TXCAL45DM(0x06);
51
usb_phy->TX = phytx;
52
+
53
+ // Temporarily disable the data cache until we can sort out all of the spots in TinyUSB that
54
+ // need the cache invalidated or cleaned.
55
+ SCB_DisableDCache();
56
}
57
58
void USB_OTG1_IRQHandler(void) {
0 commit comments