arch/arm/imxrt: DMA buffer size config

Add DMA buffer size config option

Signed-off-by: Ari Kimari <ari.kimari@tii.ae>
This commit is contained in:
Ari Kimari 2026-10-02 14:33:08 +03:00 • committed by Xiang Xiao
parent 612fcb5c5a
commit e794a88e1e
2 changed files with 11 additions and 1 deletions

View file

@ -5,6 +5,16 @@
if ARCH_BOARD_IMXRT1180_EVK
config IMXRT_DMA_POOL_SIZE
int "RT1180 USB DMA pool size"
depends on ARCH_FAMILY_IMXRT118x && IMXRT_USBDEV && USBDEV_DMAMEMORY
default 6144
range 1024 65536
---help---
Size in bytes of the RT1180 USB DMA-capable memory pool.
The default is 6 KiB. Increase this when a composite USB
configuration requires additional request buffers.
config IMXRT1180_EVK_BOOTLOADER
bool "Cortex-M33 bootloader application"
default n

View file

@ -64,7 +64,7 @@
*/
#define IMXRT_DMA_ALIGNMENT 32
#define IMXRT_DMA_POOL_SIZE (6 * 1024)
#define IMXRT_DMA_POOL_SIZE CONFIG_IMXRT_DMA_POOL_SIZE
/****************************************************************************
* Private Data