8f26d181c3
Everything works fine without USB being plugged in but faults (I think) when USB is plugged in. This is switched away from the USB code from the bootloader onto the USB code thats generated by Atmel Studio using the high level classes from ASF.
22 lines
462 B
C
22 lines
462 B
C
/**
|
|
* \file
|
|
*
|
|
* \brief User board initialization template
|
|
*
|
|
*/
|
|
/*
|
|
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
|
|
*/
|
|
|
|
#include <asf.h>
|
|
#include <board.h>
|
|
#include <conf_board.h>
|
|
|
|
void board_init(void)
|
|
{
|
|
/* This function is meant to contain board-specific initialization code
|
|
* for, e.g., the I/O pins. The initialization can rely on application-
|
|
* specific board configuration, found in conf_board.h.
|
|
*/
|
|
}
|