Skip to content

Commit 4558056

Browse files
committed
tests/bsim: Also runtime test the UART drivers for the nrf54l15
To increase coverage. Note that we call twister separatedly for this target, due to the 54l15 overlays using UARTE20 which is indexed in simulation as "2", but as the nrf52833 does not have 3 instances. So "-uart2_loopback" is not a valid option for a 52833 executable. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 9c386ca commit 4558056

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/bsim/ci.uart.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,16 @@ cd ${ZEPHYR_BASE}
1212
set -uex
1313

1414
echo "UART: Single device tests"
15+
echo " nRF52833 & 5340:"
1516
${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-logs -v -M \
1617
-p nrf52_bsim -p nrf5340bsim/nrf5340/cpuapp --fixture gpio_loopback \
1718
-- -uart0_loopback -uart1_loopback
1819

20+
echo " nRF54L15:"
21+
${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-logs -v -M \
22+
-p nrf54l15bsim/nrf54l15/cpuapp --fixture gpio_loopback \
23+
-- -uart2_loopback
24+
1925
echo "UART: Multi device tests"
2026
WORK_DIR=${ZEPHYR_BASE}/bsim_uart nice tests/bsim/drivers/uart/compile.sh
2127
RESULTS_FILE=${ZEPHYR_BASE}/bsim_out/bsim_results.uart.52.xml \

0 commit comments

Comments
 (0)