From 7d64711cf7cbdf81d5a692044161ddc69e3dc33f Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sat, 16 Nov 2024 15:22:24 -0700 Subject: Cleanup and get the program to a basic Hello, World program. Add separate source file for initializing the uart for stdout. --- include/io.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 include/io.h (limited to 'include/io.h') 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); -- cgit