Skip to content

Commit 826235c

Browse files
hakehuangcarlescufi
authored andcommitted
tests: gpio_basic_api: using header to unify tests
using arduino header to simplify test settings. arduino_header D2 and D3 can be used by default. alt: 118 platforms are enabled for this test. Signed-off-by: Hake Huang <[email protected]>
1 parent 2c4e43a commit 826235c

32 files changed

+56
-378
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2024 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* loopback with arduino header D2 and D3 */
8+
9+
/ {
10+
resources {
11+
compatible = "test-gpio-basic-api";
12+
status = "okay";
13+
out-gpios = <&arduino_header 8 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
14+
in-gpios = <&arduino_header 9 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
15+
};
16+
};

tests/drivers/gpio/gpio_basic_api/boards/da1469x_dk_pro.overlay

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/drivers/gpio/gpio_basic_api/boards/disco_l475_iot1.overlay

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/drivers/gpio/gpio_basic_api/boards/frdm_k64f.overlay

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/drivers/gpio/gpio_basic_api/boards/hifive1_fe310_B.overlay

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/drivers/gpio/gpio_basic_api/boards/lpcxpresso55s69_lpc55s69_cpu0.overlay

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/drivers/gpio/gpio_basic_api/boards/mimxrt1050_evk.overlay

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/drivers/gpio/gpio_basic_api/boards/mimxrt1060_evk.overlay

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2024 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* loopback with arduino header D10 and D11 */
8+
9+
/ {
10+
resources {
11+
compatible = "test-gpio-basic-api";
12+
status = "okay";
13+
out-gpios = <&arduino_header 16 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
14+
in-gpios = <&arduino_header 17 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
15+
};
16+
};

tests/drivers/gpio/gpio_basic_api/boards/mimxrt685_evk_mimxrt685s_cm33.overlay

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)