tests: drivers: uart: uart async: Add ESP32C3 support

Add ESP32C3 support for uart async api test

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
This commit is contained in:
Lucas Tamborrino 2022-12-01 14:46:18 -03:00 committed by Carles Cufí
commit a64d3d388f
3 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,2 @@
CONFIG_HEAP_MEM_POOL_SIZE=32768
CONFIG_DMA=y

View file

@ -0,0 +1,31 @@
/*
* Copyright (c) 2022 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;
};
};
};
&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";
};

View file

@ -2,7 +2,8 @@ common:
platform_exclude: seeeduino_xiao serpente arduino_nano_33_iot atsamr21_xpro
adafruit_itsybitsy_m4_express atsame54_xpro atsamd21_xpro adafruit_trinket_m0
arduino_nano_33_iot arduino_zero atsamd21_xpro adafruit_feather_m0_basic_proto
adafruit_feather_m0_lora arduino_mkrzero atsaml21_xpro atsamr34_xpro
adafruit_feather_m0_lora arduino_mkrzero atsaml21_xpro atsamr34_xpro stamp_c3
xiao_esp32c3
tags: drivers uart
tests:
drivers.uart.async_api: