diff options
| author | hathach <[email protected]> | 2023-08-08 21:59:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-09 12:47:24 +0700 |
| commit | b8b01c10758043d318716569e693912f3e02c75b (patch) | |
| tree | 5b8977ca79d757b5997934b6f535cf21fd969830 /hw | |
| parent | 6d877c31705e4343d30e2a6b65cbd230a3fe2001 (diff) | |
update to dcd ip3511 to add work-around for lpc54628 usb hs errata USB.1 and USB.2
msc is mounted, but device couldn't work reliably and got constant reset
due to other errata probably.
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/lpc54/family.c | 6 | ||||
| -rw-r--r-- | hw/bsp/lpc54/family.cmake | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/hw/bsp/lpc54/family.c b/hw/bsp/lpc54/family.c index 108a7d783..7411c72d4 100644 --- a/hw/bsp/lpc54/family.c +++ b/hw/bsp/lpc54/family.c @@ -70,13 +70,11 @@ //--------------------------------------------------------------------+ // Forward USB interrupt events to TinyUSB IRQ Handler //--------------------------------------------------------------------+ -void USB0_IRQHandler(void) -{ +void USB0_IRQHandler(void) { tud_int_handler(0); } -void USB1_IRQHandler(void) -{ +void USB1_IRQHandler(void) { tud_int_handler(1); } diff --git a/hw/bsp/lpc54/family.cmake b/hw/bsp/lpc54/family.cmake index 0512fe31f..b016441c1 100644 --- a/hw/bsp/lpc54/family.cmake +++ b/hw/bsp/lpc54/family.cmake @@ -59,6 +59,7 @@ function(add_board_target BOARD_TARGET) BOARD_TUD_MAX_SPEED=OPT_MODE_FULL_SPEED BOARD_TUH_MAX_SPEED=OPT_MODE_HIGH_SPEED CFG_TUH_MEM_SECTION=__attribute__\(\(section\(\"m_usb_global\"\)\)\) + #CFG_TUD_MEM_SECTION=__attribute__\(\(section\(\"m_usb_global\"\)\)\) ) endif () |
