From f582a36e4df16d5709943f7df17a900c8bcc12ab Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 25 May 2016 11:37:40 -0400 Subject: Initial commit of source code. Signed-off-by: Kevin O'Connor --- src/avr/main.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/avr/main.c (limited to 'src/avr/main.c') diff --git a/src/avr/main.c b/src/avr/main.c new file mode 100644 index 00000000..7651ab4a --- /dev/null +++ b/src/avr/main.c @@ -0,0 +1,17 @@ +// Main starting point for AVR boards. +// +// Copyright (C) 2016 Kevin O'Connor +// +// This file may be distributed under the terms of the GNU GPLv3 license. + +#include "irq.h" // irq_enable +#include "sched.h" // sched_main + +// Main entry point for avr code. +int +main(void) +{ + irq_enable(); + sched_main(); + return 0; +} -- cgit v1.2.3-70-g09d2