diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-01-05 22:16:33 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-01-05 22:16:33 +0100 |
commit | f04ca88a272a4edd89228119e502af262b59558d (patch) | |
tree | 68f695baa4ea2195eac24b8a5ea0bb94ed8f12b8 /boards/at91sam3u-ek | |
parent | d77694f33a1221b861c461aa2093d6ffb9626734 (diff) |
aat91sam3u-ek: Add #defines for DFU
Diffstat (limited to 'boards/at91sam3u-ek')
-rw-r--r-- | boards/at91sam3u-ek/board.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/boards/at91sam3u-ek/board.h b/boards/at91sam3u-ek/board.h index 7f1f7d8..da479a8 100644 --- a/boards/at91sam3u-ek/board.h +++ b/boards/at91sam3u-ek/board.h @@ -685,5 +685,16 @@ typedef enum IRQn #endif
+//------------------------------------------------------------------------------
+// DFU
+
+#define BOARD_USB_DFU
+#define BOARD_DFU_PAGE_SIZE 8192
+#define BOARD_DFU_NUM_IF 4
+
+#define BOARD_USB_VENDOR 0x16c0
+#define BOARD_USB_PRODUCT 0x0763
+#define BOARD_USB_RELEASE 0x0001
+
#endif //#ifndef BOARD_H
|