zephyr/tests/drivers/dma/loop_transfer/Kconfig
Lucas Tamborrino 676f3fa5bf tests: drivers: dma: loop_transfer: Put tranfer size as config option
Each SoC may have different limitation regarding DMA buffer size.
This commit places the test transfer size in Kconfig so it can
be modified accordingly.

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2023-06-01 09:06:35 -04:00

24 lines
523 B
Plaintext

# Copyright (c) 2020 Erwin Rol <erwin@erwinrol.com>
# SPDX-License-Identifier: Apache-2.0
mainmenu "DMA Loop Transfer Test"
source "Kconfig.zephyr"
config DMA_LOOP_TRANSFER_CHANNEL_NR
int "DMA channel to use"
default 0
config DMA_LOOP_TRANSFER_SRAM_SECTION
string "the section to place the memory buffers."
depends on NOCACHE_MEMORY
default ".nocache"
config DMA_LOOP_TRANSFER_NUMBER_OF_DMAS
int "Number of DMAs to test"
default 1
config DMA_LOOP_TRANSFER_SIZE
int "Number of bytes to transfer"
default 8192