* \brief Hardware independent timer driver (implementation)
*
* \version $Id$
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
*/
#include <cfg/test.h>
#include <mware/event.h>
+#include <cfg/debug.h>
+
#warning TODO:Refactor this test to comply whit BeRTOS test policy.
+#ifdef _TEST
+
static void timer_test_constants(void)
{
kprintf("TIMER_HW_HPTICKS_PER_SEC=%lu\n", TIMER_HW_HPTICKS_PER_SEC);
}
}
-#ifdef _TEST
-
-#include "timer.c"
-#include "mware/event.c"
-#include "os/hptime.c"
int main(void)
{
timer_test_poll();
return 0;
}
+
+#include "timer.c"
+#include "drv/kdebug.c"
+#include "mware/event.c"
+#include "mware/formatwr.c"
+#include "mware/hex.c"
+#include "os/hptime.c"
+
#endif