summaryrefslogtreecommitdiff
path: root/src/os/main.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-12-08 15:07:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-12-08 15:07:52 +0100
commitdcf84169ae75b11c1656d45dbc6c626d93da6a10 (patch)
treed78ad84e6aba1f5f13037e40141013f3a3061d54 /src/os/main.cc
parent56f2d90751f1c1b2db925da215a14721cf18d483 (diff)
Add output support (broken on esp8266)
Diffstat (limited to 'src/os/main.cc')
-rw-r--r--src/os/main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/main.cc b/src/os/main.cc
index b080185..3e48053 100644
--- a/src/os/main.cc
+++ b/src/os/main.cc
@@ -1,5 +1,6 @@
#include "arch.h"
#include "driver/gpio.h"
+#include "driver/stdout.h"
/*
void check_command(unsigned char argc, char** argv)
@@ -93,7 +94,11 @@ int main(void)
{
arch.setup();
gpio.setup();
+ kout.setup();
+
gpio.led_on(0);
+ kout << "Hello, World!" << endl;
+
arch.idle_loop();
//uart_setup();