2 * fw/atusb.c - ATUSB initialization and main loop
4 * Written 2008-2011 by Werner Almesberger
5 * Copyright 2008-2011 Werner Almesberger
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
17 #include <avr/sleep.h>
18 #include <avr/interrupt.h>
25 #include "atusb/ep0.h"
38 user_get_descriptor = sernum_get_descr;
40 /* now we should be at 8 MHz */
44 static FILE atben_stdout = FDEV_SETUP_STREAM(uart_write_char, NULL,
46 stdout = &atben_stdout;
54 /* move interrupt vectors to 0 */