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:
parent
edca247dbd
commit
a3967cefa4
5 changed files with 36 additions and 0 deletions
|
@ -21,3 +21,4 @@ supported:
|
||||||
- spi
|
- spi
|
||||||
- watchdog
|
- watchdog
|
||||||
- adc
|
- adc
|
||||||
|
- dma
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1,17 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2021 Thomas Stranger
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&dma1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&dma2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&dmamux1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
|
@ -0,0 +1,2 @@
|
||||||
|
CONFIG_DMA_LOOP_TRANSFER_DRV_NAME="DMAMUX_1"
|
||||||
|
CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=2
|
13
tests/drivers/dma/loop_transfer/boards/nucleo_g474re.overlay
Normal file
13
tests/drivers/dma/loop_transfer/boards/nucleo_g474re.overlay
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2021 Thomas Stranger
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&dma1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&dmamux1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue