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.
This commit is contained in:
hathach
2023-08-08 21:59:36 +07:00
parent 6d877c3170
commit b8b01c1075
6 changed files with 169 additions and 119 deletions

View File

@@ -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);
}

View File

@@ -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 ()