feat(port/dwc2): add dcache api for esp & st
Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
@@ -334,4 +334,15 @@
|
||||
#define CONFIG_USB_HS
|
||||
#else
|
||||
#error "Unsupported SoC"
|
||||
#endif
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32P4
|
||||
#define CONFIG_USB_DCACHE_ENABLE
|
||||
|
||||
#undef CONFIG_USB_ALIGN_SIZE
|
||||
#define CONFIG_USB_ALIGN_SIZE 32
|
||||
|
||||
void usb_dcache_clean(uintptr_t addr, uint32_t size);
|
||||
void usb_dcache_invalidate(uintptr_t addr, uint32_t size);
|
||||
void usb_dcache_flush(uintptr_t addr, uint32_t size);
|
||||
#endif
|
||||
Reference in New Issue
Block a user