summaryrefslogtreecommitdiff
path: root/boards
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-08 11:52:15 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-08 11:52:15 +0100
commitfbea2413f6c3cf935ded2466ce27029575b7d1d4 (patch)
tree8d680f0b6c4db5bc32fc83f883e74001aba96883 /boards
parent82eaac47c73621cc42ea6f40ffca2118e764a3ae (diff)
DFU: add support for setting the USB SERIAL by a board
this will allow us to use the Unique Chip ID as serial number in the USB descriptor, which in turn allows customers to write device-specific udev rules for persistent naming, etc.
Diffstat (limited to 'boards')
-rw-r--r--boards/at91sam3u-ek/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/boards/at91sam3u-ek/board.h b/boards/at91sam3u-ek/board.h
index da479a8..9669fd3 100644
--- a/boards/at91sam3u-ek/board.h
+++ b/boards/at91sam3u-ek/board.h
@@ -696,5 +696,7 @@ typedef enum IRQn
#define BOARD_USB_PRODUCT 0x0763
#define BOARD_USB_RELEASE 0x0001
+#define BOARD_USB_SERIAL
+
#endif //#ifndef BOARD_H
personal git repositories of Harald Welte. Your mileage may vary