Skip to content

Commit fd22b70

Browse files
aescolarmstasiaknordic
authored andcommitted
[nrf fromtree] tests gpio_basic_api: Enable for nrf54l15bsim
Enable this test, and provide overlays, in the nrf54l15bsim Note this test specs 2 GPIO pins to be shorted. This can be done for the simulation target by calling zephyr.exe with the option `-gpio_conf_file=shorts_config.txt` Where that file would contain this one line (for the provided overlay) ---- shorts_config.txt short 1.1 1.2 ---- Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 1b1d3ca)
1 parent 945f18b commit fd22b70

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_SKIP_PULL_TEST=y
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "nrf52_bsim.overlay"

tests/drivers/gpio/gpio_basic_api/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tests:
1313
filter: dt_compat_enabled("test-gpio-basic-api") and not dt_compat_enabled("arduino-header-r3")
1414

1515
drivers.gpio.nrf_sense_edge:
16-
platform_allow: nrf52840dk/nrf52840 nrf52_bsim
16+
platform_allow: nrf52840dk/nrf52840 nrf52_bsim nrf54l15bsim/nrf54l15/cpuapp
1717
extra_args: "DTC_OVERLAY_FILE=boards/nrf52840dk_nrf52840.overlay;\
1818
boards/nrf52840dk_nrf52840_sense_edge.overlay"
1919

0 commit comments

Comments
 (0)