File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
tests/drivers/dma/loop_transfer/boards Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=5
2
+ CONFIG_DMA_LOOP_TRANSFER_NUMBER_OF_DMAS=2
3
+
4
+ # Required by BDMA which only has access to
5
+ # a NOCACHE SRAM4 section. All other DMAs also
6
+ # has access to this section.
7
+ CONFIG_CODE_DATA_RELOCATION=y
8
+ CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="SRAM4"
Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ */
4
+
5
+ &dma1 {
6
+ status = "okay";
7
+ };
8
+
9
+ &dma2 {
10
+ status = "okay";
11
+ };
12
+
13
+ tst_dma0: &dmamux1 {
14
+ status = "okay";
15
+ };
16
+
17
+ /* The BDMA driver expects the SRAM4 region
18
+ * to be non-cachable.
19
+ */
20
+ &sram4 {
21
+ zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)>;
22
+ };
23
+
24
+ &bdma1 {
25
+ status = "okay";
26
+ };
27
+
28
+ tst_dma1: &dmamux2 {
29
+ status = "okay";
30
+ };
You can’t perform that action at this time.
0 commit comments