1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 06:38:27 +02:00

atusb: fw: define a new hardware type for the rzusb dongle

So far we do not need this in the firmware or in the driver but this might
become handy later on.

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
This commit is contained in:
Stefan Schmidt 2016-04-26 21:28:31 +02:00
parent ae1455cc7d
commit 35d14c74d6
2 changed files with 7 additions and 1 deletions

View File

@ -37,8 +37,13 @@
#include "spi.h" #include "spi.h"
#include "mac.h" #include "mac.h"
#ifdef ATUSB
#define HW_TYPE HW_TYPE_110131 #define HW_TYPE HW_TYPE_110131
#endif
#ifdef RZUSB
#define HW_TYPE HW_TYPE_RZUSB
#endif
#define debug(...) #define debug(...)
#define error(...) #define error(...)

View File

@ -32,6 +32,7 @@
#define HW_TYPE_100813 0 /* 2010-08-13 */ #define HW_TYPE_100813 0 /* 2010-08-13 */
#define HW_TYPE_101216 1 /* 2010-12-16 */ #define HW_TYPE_101216 1 /* 2010-12-16 */
#define HW_TYPE_110131 2 /* 2011-01-31, ATmega32U2-based */ #define HW_TYPE_110131 2 /* 2011-01-31, ATmega32U2-based */
#define HW_TYPE_RZUSB 3 /* Atmel Raven USB dongle with at86rf230 */
/* /*