zephyr/tests/drivers/gpio/gpio_basic_api
Kumar Gala 6b8fa2a85e arm: nxp: kinetis: Remove explicity setting of pincfg to GPIO
Remove board code and a few associated samples/tests that explicitly
call pinmux_pin_set() to set a given pin as GPIO.  This is handled as
part of gpio_mcux_configure() so we don't need to do it again.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-04-15 12:25:05 +02:00
..
boards tests: drivers: gpio: provide quickfeather overlay 2021-03-11 08:58:20 -05:00
dts/bindings
src arm: nxp: kinetis: Remove explicity setting of pincfg to GPIO 2021-04-15 12:25:05 +02:00
CMakeLists.txt tests: gpio_basic_api: support for emulated GPIO 2020-12-27 18:15:33 +01:00
README.txt
prj.conf
testcase.yaml

README.txt

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.