Skip to content

Commit d9817dc

Browse files
committed
tests: drivers: gpio: gpio_more_loops: check pulls only at H20
It was designed for H20, other platforms are not needed. It is checked with gpio tests already. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent 88a4f9d commit d9817dc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tests/drivers/gpio/gpio_more_loops/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ config TEST_DURATION
88
Test will run for (at least) defined time.
99
This value affects how many times GPIOs will be toggled.
1010

11+
config CHECK_PULLS
12+
bool "When enabled, additional check of GPIO pull-up and pull-down is executed."
13+
default y if BOARD_NRF54H20DK_NRF54H20_CPUAPP
14+
1115
source "Kconfig.zephyr"

tests/drivers/gpio/gpio_more_loops/src/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ static void *suite_setup(void)
102102

103103
}
104104

105-
/* ToDo: Remove this #ifdef when nRF54L20 supports pull-up/pull-down. */
106-
#if !defined(CONFIG_BOARD_NRF54L20PDK)
105+
#if defined CONFIG_CHECK_PULLS
107106
for (i = 0; i < npairs; i++) {
108107
rc = gpio_pin_configure_dt(&in_pins[i], GPIO_INPUT | GPIO_PULL_UP);
109108
zassert_equal(rc, 0, "IN[%d] config failed", i);

0 commit comments

Comments
 (0)