mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +00:00
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:
parent
612fcb5c5a
commit
e794a88e1e
2 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue