Skip to content

Commit b5f641c

Browse files
committed
[nrf fromtree] tests uart_async_api: Enable in nrf5340bsim//cpuapp
Enable this test in the simulated nrf5340 by providing an appropriate overlay. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit dd13fa0) Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 9edbdaf commit b5f641c

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_UART_1_NRF_HW_ASYNC_TIMER=1
2+
CONFIG_UART_NRFX_UARTE_ENHANCED_RX=y
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
#include "nrf5340dk_nrf5340_cpuapp.overlay"

tests/drivers/uart/uart_async_api/testcase.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ tests:
2626
integration_platforms:
2727
- nucleo_h743zi
2828
drivers.uart.async_api.nrf_uarte_new:
29-
platform_allow: nrf52840dk/nrf52840 nrf52_bsim
29+
platform_allow:
30+
- nrf52840dk/nrf52840
31+
- nrf52_bsim
32+
- nrf5340bsim/nrf5340/cpuapp
3033
filter: CONFIG_SERIAL_SUPPORT_ASYNC
3134
harness: ztest
3235
harness_config:

0 commit comments

Comments
 (0)