Skip to content

Commit 15f1cb3

Browse files
committed
tests: drivers: gpio-async
Make test run on rpi-pico to have a target for this to be used on. Signed-off-by: David Brown <[email protected]>
1 parent 5a35078 commit 15f1cb3

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/ {
2+
gpio-leds {
3+
compatible = "gpio-leds";
4+
col0: col0 {
5+
gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
6+
label = "Column 0";
7+
};
8+
row0: row0 {
9+
gpios = <&gpio0 0 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
10+
label = "Row 0";
11+
};
12+
};
13+
};

tests/drivers/gpio-async/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
common:
22
filter: CONFIG_RUST_SUPPORTED
33
platform_allow:
4-
# - pimoroni_tiny2040
4+
- rpi_pico
55
tests:
66
test.gpio-async:
77
harness: console

0 commit comments

Comments
 (0)