zephyr/tests/drivers/gpio/gpio_basic_api
Kumar Gala 8f0018663f drivers: pinmux: rv32m1: Convert driver to new DT_INST macros
Convert driver to use DT_INST macros and remove related board per
instance Kconfig symbol usage.

Updated the openisa,rv32m1_vega-pinmux binding to require the label
property and updated the rv32m1.dtsi to add label properties for the
pinmux nodes.

Also update gpio_basic_api test to use DT_NODELABEL.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-10 14:38:04 -05:00
..
boards dts: soc: atmel: sam: cleanup node labels to match SoC docs 2020-04-09 09:02:19 -05:00
dts/bindings tests: drivers: gpio: eliminate binding warning 2020-02-05 12:00:36 +01:00
src drivers: pinmux: rv32m1: Convert driver to new DT_INST macros 2020-04-10 14:38:04 -05:00
CMakeLists.txt cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
prj.conf test/drivers/gpio: add tests for new API 2020-02-05 12:00:36 +01:00
README.txt tests: drivers: gpio_basic_api: add README 2020-02-12 13:56:11 +02:00
testcase.yaml tests: gpio_basic_api: fix filter to exclude boards without overlay 2020-02-12 17:40:04 +02: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.