mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-14 08:21:15 +00:00
feat(usb_host): Move DMA capable memory to external ram on P4
- DWC-OTG internal DMA can access psram on esp32p4 - Move DMA memory buffs to psram, to save internal ram - HCD tests and MSC example runs in CI with psram enabled
This commit is contained in:
11
examples/peripherals/usb/host/msc/sdkconfig.ci.esp32p4_psram
Normal file
11
examples/peripherals/usb/host/msc/sdkconfig.ci.esp32p4_psram
Normal file
@@ -0,0 +1,11 @@
|
||||
CONFIG_IDF_TARGET="esp32p4"
|
||||
|
||||
# Enable experimental features, to set PSRAM frequency to 200 MHz
|
||||
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
|
||||
|
||||
# Enable PSRAM and set PSRAM frequency
|
||||
CONFIG_SPIRAM=y
|
||||
CONFIG_SPIRAM_SPEED_200M=y
|
||||
|
||||
# Allocate USB_DWC DMA capable memory in PSRAM
|
||||
CONFIG_USB_HOST_DWC_DMA_CAP_MEMORY_IN_PSRAM=y
|
Reference in New Issue
Block a user