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