genode/repos/os/src/test/gpio_drv/main.cc
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

33 lines
577 B
C++

/*
* \brief Test of GPIO driver
* \author Ivan Loskutov <ivan.loskutov@ksyslabs.org>
* \date 2012-06-23
*/
/*
* Copyright (C) 2012 Ksys Labs LLC
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#include <base/printf.h>
#include "gpio_test.h"
int main(int, char **)
{
printf("--- Pandaboard button (GPIO_121) test ---\n");
Gpio_test gpio_test;
while(1)
{
gpio_test.polling_test();
gpio_test.irq_test();
}
return 0;
}