zephyr/tests/drivers/gpio/gpio_basic_api
Tim Lin bcb173becd tests: drivers: Unit test for it82xx2_evb board
The below is the unit test result for the driver and kernel of
it82xx2_evb board.

GPIO/gpio_basic_api: PASS
I2C/i2c_api: PASS
Flash: PASS
UART/uart_basic_api: PASS
PWM/pwm_api: PASS
WDT/wdt_basic_api: PASS
KSCAN/kscan_api: PASS
kernel/sched/schedule_api: PASS
kernel/sched/preempt: PASS
kernel/timer/timer_api: PASS
kernel/sleep: PASS
ADC/adc_api: PASS.
ADC note: conversion time~=61.6us
          sample time delay~=60us
          wait voltage stable time~=202.8us
Set sampling time to 500us will pass for ADC test.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2023-04-19 03:48:38 -04:00
..
boards tests: drivers: Unit test for it82xx2_evb board 2023-04-19 03:48:38 -04:00
dts/bindings yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
src tests: drivers: gpio: basic_api: remove unused pinmux.h include 2023-02-23 16:56:04 -05:00
CMakeLists.txt
prj.conf tests: drivers: gpio: move the gpio basic test to new ztest API 2022-08-29 10:31:45 +02:00
README.txt
testcase.yaml yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +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.