diff options
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/config-mrobe500.h | 3 | ||||
| -rw-r--r-- | firmware/export/usb.h | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h index d9dc054..9d04aac 100644 --- a/firmware/export/config-mrobe500.h +++ b/firmware/export/config-mrobe500.h @@ -207,7 +207,7 @@ /* enable these for the usb stack */ #define CONFIG_USBOTG USBOTG_M66591 #define USE_ROCKBOX_USB -//#define USB_ENABLE_SERIAL + #define HAVE_USBSTACK //#define HAVE_USB_POWER //#define USBPOWER_BUTTON BUTTON_POWER @@ -216,6 +216,7 @@ #define USB_NUM_ENDPOINTS 7 #define USB_VENDOR_ID 0x07b4 #define USB_PRODUCT_ID 0x0281 +#define HAVE_USB_HID_MOUSE /* Define this if hardware supports alternate blitting */ #define HAVE_LCD_MODES LCD_MODE_RGB565 | LCD_MODE_YUV | LCD_MODE_PAL256 diff --git a/firmware/export/usb.h b/firmware/export/usb.h index c380ac5..d432b39 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h @@ -98,10 +98,18 @@ enum { #ifdef HAVE_USBSTACK /* USB class drivers */ enum { +#ifdef USB_ENABLE_STORAGE USB_DRIVER_MASS_STORAGE, +#endif +#ifdef USB_ENABLE_SERIAL USB_DRIVER_SERIAL, +#endif +#ifdef USB_ENABLE_CHARGING_ONLY USB_DRIVER_CHARGING_ONLY, +#endif +#ifdef USB_ENABLE_HID USB_DRIVER_HID, +#endif USB_NUM_DRIVERS }; |