From 9e3c80a3ae38c111c138aa9e7c70f1abb5d1424f Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 15 Jun 2011 16:29:19 -0400 Subject: usb: Move some board-specific configuration to Wirish. Create new BOARD_USB_DISC_DEV and BOARD_USB_DISC_BIT board-specific values. Use these as arguments to setupUSB() and disableUSB(). This helps make the USB stack more generic, and goes towards the resolution of an important FIXME. Signed-off-by: Marti Bolivar --- wirish/boards/maple_mini.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wirish/boards/maple_mini.h') diff --git a/wirish/boards/maple_mini.h b/wirish/boards/maple_mini.h index 7bf7016..40f507b 100644 --- a/wirish/boards/maple_mini.h +++ b/wirish/boards/maple_mini.h @@ -70,4 +70,7 @@ #define BOARD_JTDO_PIN 19 #define BOARD_NJTRST_PIN 18 +#define BOARD_USB_DISC_DEV GPIOB +#define BOARD_USB_DISC_BIT 9 + #endif -- cgit v1.2.3