diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-01-08 18:32:36 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-01-08 18:32:36 +0100 |
commit | 7261a4b6b79c8d1e2f6f0238d6aa47cb4f27ee62 (patch) | |
tree | 0d25a885324e8c0d69bb48a2dd6a748d8d27d293 /boards/osmo-sdr/board.h | |
parent | 8204b630ed79142bb4b8966f6f4d79eb464713db (diff) |
board/osmo-sdr: Add DFU support (like SAM3U-EK)
Diffstat (limited to 'boards/osmo-sdr/board.h')
-rw-r--r-- | boards/osmo-sdr/board.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/boards/osmo-sdr/board.h b/boards/osmo-sdr/board.h index e130ceb..7d7f629 100644 --- a/boards/osmo-sdr/board.h +++ b/boards/osmo-sdr/board.h @@ -353,5 +353,19 @@ typedef enum IRQn //------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
+// DFU
+
+#define BOARD_USB_DFU
+#define BOARD_DFU_BTN_PIOA 12
+#define BOARD_DFU_BOOT_SIZE (16 * 1024)
+#define BOARD_DFU_PAGE_SIZE 512
+#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
|