Skip to content

Commit fe35710

Browse files
author
Raffael Rostagno
committed
tests: uart: async: esp32h2: Add config
Add test config for ESP32-H2. Signed-off-by: Raffael Rostagno <[email protected]>
1 parent 7c08ef4 commit fe35710

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
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=y
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Copyright (c) 2025 Espressif Systems (Shanghai) Co., Ltd.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&pinctrl {
8+
uart1_test: uart1_test {
9+
group1 {
10+
pinmux = <UART1_TX_GPIO2>;
11+
input-enable;
12+
};
13+
group2 {
14+
pinmux = <UART1_RX_GPIO2>;
15+
output-enable;
16+
};
17+
};
18+
};
19+
20+
dut: &uart1 {
21+
status = "okay";
22+
current-speed = <115200>;
23+
pinctrl-0 = <&uart1_test>;
24+
pinctrl-names = "default";
25+
dmas = <&dma 0>, <&dma 1>;
26+
dma-names = "rx", "tx";
27+
};
28+
29+
&dma {
30+
status = "okay";
31+
};

0 commit comments

Comments
 (0)