Skip to content

Commit e919123

Browse files
LucasTamborcarlescufi
authored andcommitted
tests: dma: add esp32c3
Add esp32c3 support to DMA tests Signed-off-by: Lucas Tamborrino <[email protected]>
1 parent 17fbdc5 commit e919123

File tree

5 files changed

+28
-0
lines changed

5 files changed

+28
-0
lines changed

boards/riscv/esp32c3_devkitm/esp32c3_devkitm.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ supported:
1010
- i2c
1111
- watchdog
1212
- uart
13+
- dma
1314
testing:
1415
ignore_tags:
1516
- net
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_DMA_TRANSFER_CHANNEL_NR_0=5
2+
CONFIG_DMA_TRANSFER_CHANNEL_NR_1=0
3+
CONFIG_HEAP_MEM_POOL_SIZE=32768
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&dma {
8+
status = "okay";
9+
};
10+
11+
test_dma: &dma { };
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_HEAP_MEM_POOL_SIZE=32768
2+
CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=0
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&dma {
8+
status = "okay";
9+
};
10+
11+
test_dma: &dma { };

0 commit comments

Comments
 (0)