Skip to content

Commit e335127

Browse files
soburikartben
authored andcommitted
tests: drivers: gpio: gpio_basic_api: Enable test on rpi_pico series
Add an overlay for `rpi_pico` and `rpi_pico2` to run this test. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 460d9fa commit e335127

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 TOKITA Hiroshi
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
resources {
9+
compatible = "test-gpio-basic-api";
10+
out-gpios = <&pico_header 12 GPIO_ACTIVE_HIGH>;
11+
in-gpios = <&pico_header 13 GPIO_ACTIVE_HIGH>;
12+
};
13+
};
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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2025 TOKITA Hiroshi
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Pico 2 is compatible with the Pico 1, so reuse. */
8+
#include "rpi_pico.overlay"

0 commit comments

Comments
 (0)