summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app/donothing/Makefile.inc3
-rw-r--r--src/app/donothing/main.cc18
2 files changed, 21 insertions, 0 deletions
diff --git a/src/app/donothing/Makefile.inc b/src/app/donothing/Makefile.inc
new file mode 100644
index 0000000..0608a82
--- /dev/null
+++ b/src/app/donothing/Makefile.inc
@@ -0,0 +1,3 @@
+timer_cycles = 0
+timer_s = 0
+loop = 0
diff --git a/src/app/donothing/main.cc b/src/app/donothing/main.cc
new file mode 100644
index 0000000..242de6f
--- /dev/null
+++ b/src/app/donothing/main.cc
@@ -0,0 +1,18 @@
+#include "arch.h"
+#include "driver/gpio.h"
+#include "driver/stdout.h"
+#include "driver/uptime.h"
+
+int main(void)
+{
+ arch.setup();
+ gpio.setup();
+ kout.setup();
+
+ kout << "Hello, World!" << endl;
+ kout << "Naptime." << endl;
+
+ arch.idle();
+
+ return 0;
+}