Eliminates dma tests' dependency on CONFIG_NOCACHE_MEMORY=y for configuring dma data linker sections. This allows optionally relocating dma source and destination data to sram or other custom linker section on boards that don't support dma access to flash. Signed-off-by: Maureen Helm <maureen.helm@analog.com>
24 lines
528 B
Plaintext
24 lines
528 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_RELOCATE_SECTION
|
|
string "the section to place the memory buffers."
|
|
depends on CODE_DATA_RELOCATION
|
|
default "RAM"
|
|
|
|
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
|