Disable the DCache when USB is initialized. There are still issues enabling it.
This commit is contained in:
parent
1c39606345
commit
87344ff53a
@ -49,6 +49,10 @@ void init_usb_hardware(void) {
|
||||
phytx &= ~(USBPHY_TX_D_CAL_MASK | USBPHY_TX_TXCAL45DM_MASK | USBPHY_TX_TXCAL45DP_MASK);
|
||||
phytx |= USBPHY_TX_D_CAL(0x0C) | USBPHY_TX_TXCAL45DP(0x06) | USBPHY_TX_TXCAL45DM(0x06);
|
||||
usb_phy->TX = phytx;
|
||||
|
||||
// Temporarily disable the data cache until we can sort out all of the spots in TinyUSB that
|
||||
// need the cache invalidated or cleaned.
|
||||
SCB_DisableDCache();
|
||||
}
|
||||
|
||||
void USB_OTG1_IRQHandler(void) {
|
||||
|
Loading…
Reference in New Issue
Block a user