Skip to content

Commit 6303018

Browse files
KozhinovAlexandercfriedt
authored andcommitted
tests: drivers: gpio_basic_api: add more boards
add nucleo_h745zi_q_stm32h745xx_m7 overlay add stm32mp257f_ev1_stm32mp257fxx_m33 overlay Signed-off-by: Alexander Kozhinov <[email protected]>
1 parent 10dd8fe commit 6303018

File tree

4 files changed

+58
-0
lines changed

4 files changed

+58
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2025 Alexander Kozhinov <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* loopback with arduino header D0 (PB7) and D1 (PB6) */
8+
9+
/ {
10+
resources {
11+
compatible = "test-gpio-basic-api";
12+
status = "okay";
13+
out-gpios = <&arduino_header 6 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
14+
in-gpios = <&arduino_header 7 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
15+
};
16+
};
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2025 Alexander Kozhinov <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* loopback with arduino header D0 (PB7) and D1 (PB6) */
8+
9+
/ {
10+
resources {
11+
compatible = "test-gpio-basic-api";
12+
status = "okay";
13+
out-gpios = <&arduino_header 6 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
14+
in-gpios = <&arduino_header 7 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
15+
};
16+
};
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Alexander Kozhinov <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/**
8+
* PB7 (GPIO.SPI3 SCK / GPIO11) and PB8 (GPIO.SPI3 MOSI / GPIO10)
9+
* must be shorted by a wire.
10+
*/
11+
12+
/ {
13+
resources {
14+
compatible = "test-gpio-basic-api";
15+
status = "okay";
16+
out-gpios = <&gpiob 7 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
17+
in-gpios = <&gpiob 8 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
18+
};
19+
};
20+
21+
&gpiob {
22+
status = "okay";
23+
};

tests/drivers/gpio/gpio_basic_api/testcase.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ tests:
7777
- nucleo_wb09ke
7878
- nucleo_wb05kz
7979
- nucleo_wba55cg
80+
- nucleo_h745zi_q/stm32h745xx/m7
81+
- nucleo_h745zi_q/stm32h745xx/m4
82+
- stm32mp257f_ev1/stm32mp257fxx/m33
8083
integration_platforms:
8184
- mimxrt595_evk/mimxrt595s/cm33
8285
drivers.gpio.st_2pin_arduino:

0 commit comments

Comments
 (0)