diff --git a/atusb/fw/ep0.c b/atusb/fw/ep0.c index d845156..2b92f6d 100644 --- a/atusb/fw/ep0.c +++ b/atusb/fw/ep0.c @@ -37,8 +37,13 @@ #include "spi.h" #include "mac.h" - +#ifdef ATUSB #define HW_TYPE HW_TYPE_110131 +#endif + +#ifdef RZUSB +#define HW_TYPE HW_TYPE_RZUSB +#endif #define debug(...) #define error(...) diff --git a/atusb/fw/include/atusb/ep0.h b/atusb/fw/include/atusb/ep0.h index adb7d19..4f99b20 100644 --- a/atusb/fw/include/atusb/ep0.h +++ b/atusb/fw/include/atusb/ep0.h @@ -32,6 +32,7 @@ #define HW_TYPE_100813 0 /* 2010-08-13 */ #define HW_TYPE_101216 1 /* 2010-12-16 */ #define HW_TYPE_110131 2 /* 2011-01-31, ATmega32U2-based */ +#define HW_TYPE_RZUSB 3 /* Atmel Raven USB dongle with at86rf230 */ /*