diff options
Diffstat (limited to 'src/avr/main.c')
-rw-r--r-- | src/avr/main.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/avr/main.c b/src/avr/main.c new file mode 100644 index 000000000..7651ab4a4 --- /dev/null +++ b/src/avr/main.c @@ -0,0 +1,17 @@ +// Main starting point for AVR boards. +// +// Copyright (C) 2016 Kevin O'Connor <kevin@koconnor.net> +// +// 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; +} |