This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
ad5966a432
zephyr
/
tests
/
drivers
/
gpio
/
gpio_api_1pin
/
prj.conf
4 lines
52 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: add gpio_api_1pin testcase gpio_api_1pin testcase verifies following new GPIO API functionality: - pin active level flags - input/output configuration flags - pin drive flags - gpio_port_*, gpio_pin_* functions - pin interrupts The test is using only 1 GPIO pin (defined in DTS as LED0) and relies on the ability of the driver to configure pin simultanously as in/out. Drivers that do not allow to configure pins in in/out mode should still pass the test, however, most of the testcases will be skipped. The test does not require any modifications to board hardware. Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2019-09-03 16:07:49 +08:00
CONFIG_ZTEST=y
tests: drivers: gpio: move the gpio 1pin test to new ztest API Migrate the testsuite tests/drivers/gpio/gpio_api_1pin to the new ztest API. Signed-off-by: Enjia Mai <enjia.mai@intel.com>
2022-08-26 15:38:37 +08:00
CONFIG_ZTEST_NEW_API=y
tests: add gpio_api_1pin testcase gpio_api_1pin testcase verifies following new GPIO API functionality: - pin active level flags - input/output configuration flags - pin drive flags - gpio_port_*, gpio_pin_* functions - pin interrupts The test is using only 1 GPIO pin (defined in DTS as LED0) and relies on the ability of the driver to configure pin simultanously as in/out. Drivers that do not allow to configure pins in in/out mode should still pass the test, however, most of the testcases will be skipped. The test does not require any modifications to board hardware. Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2019-09-03 16:07:49 +08:00
CONFIG_GPIO=y