summaryrefslogtreecommitdiff
path: root/boards
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-05 22:16:33 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-05 22:16:33 +0100
commitf04ca88a272a4edd89228119e502af262b59558d (patch)
tree68f695baa4ea2195eac24b8a5ea0bb94ed8f12b8 /boards
parentd77694f33a1221b861c461aa2093d6ffb9626734 (diff)
aat91sam3u-ek: Add #defines for DFU
Diffstat (limited to 'boards')
-rw-r--r--boards/at91sam3u-ek/board.h11
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
personal git repositories of Harald Welte. Your mileage may vary