zephyr/tests/drivers/dma/loop_transfer/Kconfig
Erwin Rol fc71836769 tests: dma: loop_transfer: allow configuration of device and channel
Add Kconfig with the following options:

- DMA_LOOP_TRANSFER_DRV_NAME to set the DMA device name, because
  some SOCs do not allow memory to memory DMA on all DMA devices
- DMA_LOOP_TRANSFER_CHANNEL_NR some SOCs start counting the DMA
  channels at 1 instead of 0.

Signed-off-by: Erwin Rol <erwin@erwinrol.com>
2020-09-03 21:50:58 +02:00

15 lines
318 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_DRV_NAME
string "DMA device name to use for test"
default "DMA_0"
config DMA_LOOP_TRANSFER_CHANNEL_NR
int "DMA channel to use"
default 0