tests: dma: add nucleog474re board

Add nucleo_g474re board to dma/chan_blen_transfer and dma/loop_transfer
tests.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2021-04-14 14:48:41 +02:00 committed by Kumar Gala
commit a3967cefa4
5 changed files with 36 additions and 0 deletions

View file

@ -21,3 +21,4 @@ supported:
- spi
- watchdog
- adc
- dma

View file

@ -0,0 +1,3 @@
CONFIG_DMA_TRANSFER_DRV_NAME="DMAMUX_1"
CONFIG_DMA_TRANSFER_CHANNEL_NR_0=5
CONFIG_DMA_TRANSFER_CHANNEL_NR_1=9

View file

@ -0,0 +1,17 @@
/*
* Copyright (c) 2021 Thomas Stranger
*
* SPDX-License-Identifier: Apache-2.0
*/
&dma1 {
status = "okay";
};
&dma2 {
status = "okay";
};
&dmamux1 {
status = "okay";
};

View file

@ -0,0 +1,2 @@
CONFIG_DMA_LOOP_TRANSFER_DRV_NAME="DMAMUX_1"
CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=2

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2021 Thomas Stranger
*
* SPDX-License-Identifier: Apache-2.0
*/
&dma1 {
status = "okay";
};
&dmamux1 {
status = "okay";
};