Module: xenomai-3 Branch: wip/drivers Commit: 0d1f9dc90f8fbe70867b77b2983b6dc8fcf6627b URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0d1f9dc90f8fbe70867b77b2983b6dc8fcf6627b
Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jul 12 10:03:48 2016 +0200 testsuite/gpio: add interrupt trigger argument --- testsuite/gpiotest/gpiotest.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testsuite/gpiotest/gpiotest.c b/testsuite/gpiotest/gpiotest.c index aeb16af..c6620e1 100644 --- a/testsuite/gpiotest/gpiotest.c +++ b/testsuite/gpiotest/gpiotest.c @@ -32,10 +32,13 @@ smokey_test_plugin(interrupt, SMOKEY_ARGLIST( SMOKEY_STRING(device), + SMOKEY_STRING(trigger), SMOKEY_BOOL(select), ), "Wait for interrupts from a GPIO pin.\n" - "\tdevice=<device-path>." + "\tdevice=<device-path>\n" + "\trigger={edge[-rising/falling/both], level[-low/high]}\n" + "\tselect, wait on select(2)." ); smokey_test_plugin(read_value, _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git