diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-16 17:37:21 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-16 17:56:54 -0400 |
commit | 4862d1eae5813e278cfbb1d5e0a040010b92eb3f (patch) | |
tree | b0771810e7d1da7d254375b4758128dce3793668 /libmaple/usb | |
parent | 04ee498b46393250c31606e526c28cb3b2b870ed (diff) | |
download | librambutan-4862d1eae5813e278cfbb1d5e0a040010b92eb3f.tar.gz librambutan-4862d1eae5813e278cfbb1d5e0a040010b92eb3f.zip |
Maple RET6 edition support
Diffstat (limited to 'libmaple/usb')
-rw-r--r-- | libmaple/usb/usb_config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmaple/usb/usb_config.h b/libmaple/usb/usb_config.h index 9003da9..0860b90 100644 --- a/libmaple/usb/usb_config.h +++ b/libmaple/usb/usb_config.h @@ -28,7 +28,7 @@ #define RESET_DELAY (100) #define USB_CONFIG_MAX_POWER (100 >> 1) -#if defined(BOARD_maple) +#if defined(BOARD_maple) || defined(BOARD_maple_RET6) /* USB Identifier numbers */ #define VCOM_ID_PRODUCT 0x0004 @@ -37,13 +37,13 @@ #elif defined(BOARD_maple_mini) - #define VCOM_ID_PRODUCT 0x0005 + #define VCOM_ID_PRODUCT 0x0004 #define USB_DISC_DEV GPIOB #define USB_DISC_PIN 9 #elif defined(BOARD_maple_native) - #define VCOM_ID_PRODUCT 0x0006 + #define VCOM_ID_PRODUCT 0x0004 #define USB_DISC_DEV GPIOB #define USB_DISC_PIN 8 @@ -51,8 +51,8 @@ #error ("Sorry! the USB stack relies on LeafLabs board-specific " \ "configuration right now. If you want, you can pretend you're one " \ - "of our boards; i.e., #define BOARD_maple, BOARD_maple_mini, or " \ - "BOARD_maple_native according to what matches your MCU best. " \ + "of our boards; i.e., #define BOARD_maple, BOARD_maple_mini, or " \ + "BOARD_maple_native according to what matches your MCU best. " \ "You should also take a look at libmaple/usb/descriptors.c; we make " \ "some assumptions there that you probably won't like.") |