zephyr/tests/drivers/gpio/gpio_basic_api
Furkan Akkiz ee1d4da864 tests: Add MAX78002EVKIT test overlay files
Enable following tests for MAX78002EVKIT:
 - tests/drivers/adc/adc_api
 - tests/drivers/counter/counter_basic_api
 - tests/drivers/dma/chan_blen_transfer
 - tests/drivers/dma/loop_transfer
 - tests/drivers/flash/common
 - tests/drivers/gpio/gpio_basic_api
 - tests/drivers/i2c/i2c_target_api
 - tests/drivers/pwm/pwm_api
 - tests/drivers/spi/spi_loopback
 - tests/drivers/w1/w1_api

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
2024-11-16 15:09:57 -05:00
..
boards tests: Add MAX78002EVKIT test overlay files 2024-11-16 15:09:57 -05:00
dts/bindings
socs drivers: gpio: esp32c2: Add support 2024-08-16 14:08:22 -04:00
src test: gpio: gpio_basic_api: enhance the gpio test 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
README.txt
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
prj.conf
testcase.yaml tests gpio_basic_api: Enable for nrf5340bsim 2024-11-16 14:05:52 -05:00

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.