Skip to content

Commit

Permalink
tests: drivers: dma: adapt test applications on stm32wb55 nucleo board
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
FRASTM committed Nov 25, 2020
1 parent c63ee0c commit 372a49f
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_DMA_TRANSFER_DRV_NAME="DMAMUX_1"
CONFIG_DMA_TRANSFER_CHANNEL_NR_0=6
CONFIG_DMA_TRANSFER_CHANNEL_NR_1=10
17 changes: 17 additions & 0 deletions tests/drivers/dma/chan_blen_transfer/boards/nucleo_wb55rg.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright (c) 2020 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma1 {
status = "okay";
};

&dma2 {
status = "okay";
};

&dmamux1 {
status = "okay";
};
2 changes: 2 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/nucleo_wb55rg.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_DMA_LOOP_TRANSFER_DRV_NAME="DMAMUX_1"
CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=11
17 changes: 17 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/nucleo_wb55rg.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright (c) 2020 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/

&dma1 {
status = "okay";
};

&dma2 {
status = "okay";
};

&dmamux1 {
status = "okay";
};

0 comments on commit 372a49f

Please sign in to comment.