zephyr/tests/drivers/gpio/gpio_basic_api/arduino.overlay
Hake Huang 826235c5c6 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 <hake.huang@oss.nxp.com>
2024-09-12 14:50:07 +02:00

17 lines
374 B
Plaintext

/*
* Copyright (c) 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/* loopback with arduino header D2 and D3 */
/ {
resources {
compatible = "test-gpio-basic-api";
status = "okay";
out-gpios = <&arduino_header 8 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
in-gpios = <&arduino_header 9 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL | GPIO_PULL_UP)>;
};
};