diff --git a/fw/common/config.h b/fw/common/config.h index a55e2ff..5ee31fc 100644 --- a/fw/common/config.h +++ b/fw/common/config.h @@ -15,18 +15,7 @@ #include "io.h" #include "io-parts.h" - - -/* - * Platform-specific settings - * - * USB_VENDOR = Qi Hardware - * USB_PRODUCT = 802.15.4, device 0 - * -- - - - */ - -#define USB_VENDOR 0x20b7 -#define USB_PRODUCT 0x1540 +#include "atspi/usb-ids.h" /* ----- Boot loader configuration ----------------------------------------- */ diff --git a/fw/include/atspi/usb-ids.h b/fw/include/atspi/usb-ids.h new file mode 100644 index 0000000..a0ba025 --- /dev/null +++ b/fw/include/atspi/usb-ids.h @@ -0,0 +1,28 @@ +/* + * include/atspi/usb-ids.h - USB vendor and product IDs + * + * Written 2009, 2010 by Werner Almesberger + * Copyright 2009, 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + +#ifndef USB_IDS_H +#define USB_IDS_H + +/* + * Platform-specific settings + * + * USB_VENDOR = Qi Hardware + * USB_PRODUCT = 802.15.4, device 0 + * -- - - + */ + +#define USB_VENDOR 0x20b7 /* Qi Hardware */ +#define USB_PRODUCT 0x1540 /* ben-wpan, AT86RF230-based */ + +#endif /* !USB_IDS_H */