It adds flexibility to test different dma channels The chan_blen_transfer is modified like the loop_transfer application to support stm32xx devices with dma and/or dmamux. On the stm32 devices, the first dma channel is 1. Signed-off-by: Francois Ramu <francois.ramu@st.com>
19 lines
382 B
Plaintext
19 lines
382 B
Plaintext
# Copyright (c) 2020 STMicroelectronics
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
mainmenu "DMA Loop Transfer Test"
|
|
|
|
source "Kconfig.zephyr"
|
|
|
|
config DMA_TRANSFER_DRV_NAME
|
|
string "DMA device name to use for test"
|
|
default "DMA_0"
|
|
|
|
config DMA_TRANSFER_CHANNEL_NR_0
|
|
int "first DMA channel to use"
|
|
default 0
|
|
|
|
config DMA_TRANSFER_CHANNEL_NR_1
|
|
int "second DMA channel to use"
|
|
default 1
|