zephyr/tests/drivers/gpio/gpio_basic_api
Krzysztof Chruściński eda1b3f8f5 tests: drivers: gpio: gpio_basic_api: Add nrf54l09pdk support
Add overlay for nrf54l09pdk/nrf54l09/cpuapp target.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-01-20 16:28:14 +01:00
..
boards tests: drivers: gpio: gpio_basic_api: Add nrf54l09pdk support 2025-01-20 16:28:14 +01:00
dts/bindings yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
socs tests: esp32c3: Add USB variant 2025-01-10 18:57:07 +01:00
src tests: gpio: basic_api: not use pull up if it is not supported 2024-12-17 23:13:40 +01:00
arduino_D2D3.overlay tests: gpio: gpio_basic_api: update customerized board list 2024-10-17 10:47:22 -04:00
arduino_D9D10.overlay tests: gpio: gpio_basic_api: update customerized board list 2024-10-17 10:47:22 -04:00
CMakeLists.txt
Kconfig test: gpio: gpio_basic_api: enhance the gpio test 2024-10-17 10:47:22 -04:00
prj.conf tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
README.txt
testcase.yaml boards: mimxrt1060_evk: Convert to variants 2024-12-20 22:59:59 +01:00

GPIO 2-Pin Test
###############

This application tests the GPIO subsystem using a hardware configuration
where two GPIOs are directly wired together.  The test pins are
identified through a test-specific devicetree binding in the `dts/`
subdirectory, implemented for specific boards by overlay files in the
`boards/` directory.

For some boards `src/main.c` may also need to be extended to configure
the selected pins for use as GPIOs.

Only boards for which an overlay is present can pass this test.  Boards
without an overlay, or for which the required wiring is not provided,
will fail with an error like this:

    Validate device GPIO_0
    Check GPIO_0 output 2 connected to input 3
    FATAL output pin not wired to input pin? (out high => in low)

No special build options are required to make use of the overlay.