-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: drivers: uart: uart async: Add esp32s3 overlay
Add esp32s3 support for uart async tests. Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
- Loading branch information
1 parent
97be30c
commit 8cbf1be
Showing
4 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
*/ | ||
|
||
&pinctrl { | ||
|
||
uart1_test: uart1_test { | ||
group1 { | ||
pinmux = <UART1_TX_GPIO5>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_DMA=y |
30 changes: 30 additions & 0 deletions
30
tests/drivers/uart/uart_async_api/boards/esp32s3_devkitm.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pinctrl { | ||
uart1_test: uart1_test { | ||
group1 { | ||
pinmux = <UART1_TX_GPIO5>; | ||
}; | ||
group2 { | ||
pinmux = <UART1_RX_GPIO6>; | ||
bias-pull-up; | ||
}; | ||
}; | ||
}; | ||
|
||
dut: &uart1 { | ||
status = "okay"; | ||
current-speed = <115200>; | ||
pinctrl-0 = <&uart1_test>; | ||
pinctrl-names = "default"; | ||
dmas = <&dma 0>, <&dma 1>; | ||
dma-names = "rx", "tx"; | ||
}; | ||
|
||
&dma { | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters