hcd dwc2 add dcache support, usbh correctly use cache line size with TUH_EPBUF_DEF
This commit is contained in:
@@ -18,7 +18,8 @@ list(APPEND compile_definitions
|
||||
if (target STREQUAL esp32p4)
|
||||
# P4 change alignment to 64 (DCache line size) for possible DMA configuration
|
||||
list(APPEND compile_definitions
|
||||
CFG_TUSB_MEM_ALIGN=__attribute__\(\(aligned\(64\)\)\)
|
||||
CFG_TUD_MEM_ALIGN=__attribute__\(\(aligned\(64\)\)\)
|
||||
CFG_TUH_MEM_ALIGN=__attribute__\(\(aligned\(64\)\)\)
|
||||
)
|
||||
endif ()
|
||||
|
||||
|
Reference in New Issue
Block a user