xmega compiling (not flashing yet)

This commit is contained in:
Jack Humbert 2018-01-16 02:15:21 -05:00
parent 5836d1a06a
commit 6b58b0c7dd
11 changed files with 152 additions and 2 deletions

View file

@ -61,6 +61,11 @@ extern host_driver_t lufa_driver;
}
#endif
#ifdef __AVR_XMEGA__
#define MCUSR RST_STATUS
#define WDRF RST_WDRF_bp
#endif
/* extra report structure */
typedef struct {
uint8_t report_id;