Skip to content

Commit 0a3437d

Browse files
FRASTMcarlescufi
authored andcommitted
tests: drivers: dma: adapt test applications on stm32wb55 nucleo board
The dma test applications for MEM-to-MEM transfers are modified to run on the stm32wb55 with a DMAMUX loop_transfer on any CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR from 0 to 13 chan_blen_trasnfer on CONFIG_DMA_TRANSFER_CHANNEL_NR_0 from 0 to 13 and on CONFIG_DMA_TRANSFER_CHANNEL_NR_1 from 0 to 13 Signed-off-by: Francois Ramu <[email protected]>
1 parent 445c893 commit 0a3437d

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_DMA_TRANSFER_DRV_NAME="DMAMUX_1"
2+
CONFIG_DMA_TRANSFER_CHANNEL_NR_0=6
3+
CONFIG_DMA_TRANSFER_CHANNEL_NR_1=10
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2020 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&dma1 {
8+
status = "okay";
9+
};
10+
11+
&dma2 {
12+
status = "okay";
13+
};
14+
15+
&dmamux1 {
16+
status = "okay";
17+
};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_DMA_LOOP_TRANSFER_DRV_NAME="DMAMUX_1"
2+
CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=11
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2020 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&dma1 {
8+
status = "okay";
9+
};
10+
11+
&dma2 {
12+
status = "okay";
13+
};
14+
15+
&dmamux1 {
16+
status = "okay";
17+
};

0 commit comments

Comments
 (0)