Skip to content

Commit 3a9215a

Browse files
JarmouniAcarlescufi
authored andcommitted
tests: drivers: dma: loop_transfer: add stm32h750b_dk config
Run test on stm32h750b_dk board Signed-off-by: Abderrahmane Jarmouni <[email protected]>
1 parent d8c1d4d commit 3a9215a

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=3
2+
CONFIG_DMA_LOOP_TRANSFER_NUMBER_OF_DMAS=2
3+
4+
# Required by BDMA which only has access to
5+
# SRAM4 & the driver excpects it to be uncached as well.
6+
# Other DMAs have access to SRAM4 as well.
7+
CONFIG_CODE_DATA_RELOCATION=y
8+
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="SRAM4"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Copyright (c) 2024 Abderrahmane JARMOUNI
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&sram4 {
8+
zephyr,memory-attr = <DT_MEM_ARM_MPU_RAM_NOCACHE>;
9+
zephyr,memory-region = "SRAM4";
10+
status = "okay";
11+
};
12+
13+
&dma1 {
14+
status = "okay";
15+
};
16+
17+
&dma2 {
18+
status = "okay";
19+
};
20+
21+
tst_dma0: &dmamux1 {
22+
status = "okay";
23+
};
24+
25+
&bdma1 {
26+
status = "okay";
27+
};
28+
29+
tst_dma1: &dmamux2 {
30+
status = "okay";
31+
};

0 commit comments

Comments
 (0)