get hcd work esp32p4 but only in slave mode. In DMA channel's HCDMA is increased but data transfer over USB is not correct.
This commit is contained in:
@@ -10,9 +10,15 @@ set(RHPORT_SPEED OPT_MODE_FULL_SPEED OPT_MODE_HIGH_SPEED)
|
||||
if (NOT DEFINED RHPORT_DEVICE)
|
||||
if (IDF_TARGET STREQUAL "esp32p4")
|
||||
set(RHPORT_DEVICE 1)
|
||||
set(RHPORT_HOST 1)
|
||||
else ()
|
||||
set(RHPORT_DEVICE 0)
|
||||
endif ()
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED RHPORT_HOST)
|
||||
if (IDF_TARGET STREQUAL "esp32p4")
|
||||
set(RHPORT_HOST 1)
|
||||
else ()
|
||||
set(RHPORT_HOST 0)
|
||||
endif ()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user