diff options
Diffstat (limited to 'osal')
| -rw-r--r-- | osal/idf/usb_config.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/osal/idf/usb_config.h b/osal/idf/usb_config.h index 414a4c74..d7cc5885 100644 --- a/osal/idf/usb_config.h +++ b/osal/idf/usb_config.h @@ -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
\ No newline at end of file |
