aboutsummaryrefslogtreecommitdiff
path: root/include/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/io.h')
-rw-r--r--include/io.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/io.h b/include/io.h
new file mode 100644
index 0000000..d4eb5b5
--- /dev/null
+++ b/include/io.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#ifndef BAUD_RATE
+#define BAUD_RATE 115200
+#endif
+
+/** Initializes uart1 for use as stdout. */
+void init_uart1_for_stdout(void);