summaryrefslogtreecommitdiff
path: root/board/keyborg/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/keyborg/board.c')
-rw-r--r--board/keyborg/board.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/board/keyborg/board.c b/board/keyborg/board.c
new file mode 100644
index 0000000000..c21510530f
--- /dev/null
+++ b/board/keyborg/board.c
@@ -0,0 +1,26 @@
+/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+/* Keyborg board-specific configuration */
+
+#include "board.h"
+#include "common.h"
+#include "debug.h"
+#include "registers.h"
+#include "system.h"
+#include "task.h"
+#include "util.h"
+
+int main(void)
+{
+ int i = 0;
+ hardware_init();
+ debug_printf("Keyborg starting...\n");
+
+ while (1) {
+ i++;
+ task_wait_event(SECOND);
+ debug_printf("Timer check - %d seconds\n", i);
+ }
+}