Add DMA unit tests for BDMA driver. Also requires adding additional kconfig options to allocate the memory buffers in a specific SRAM section, because the BDMA only has access to SRAM4. Signed-off-by: Hein Wessels <heinwessels93@gmail.com>
20 lines
443 B
Plaintext
20 lines
443 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
|