diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-11-02 04:37:57 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-11-02 04:37:57 +0000 |
| commit | 02385cb5b02ecd13ee63fb636a8ed65071407b01 (patch) | |
| tree | b8d1a58c7676ec0ff6d989f2b6990b6a7dea0a17 /firmware/export | |
| parent | 451f9d58f35a2372a119caa4d9ca56879d8aae4c (diff) | |
| download | rockbox-02385cb5b02ecd13ee63fb636a8ed65071407b01.zip rockbox-02385cb5b02ecd13ee63fb636a8ed65071407b01.tar.gz rockbox-02385cb5b02ecd13ee63fb636a8ed65071407b01.tar.bz2 rockbox-02385cb5b02ecd13ee63fb636a8ed65071407b01.tar.xz | |
M:Robe 500/M66591 USB improvements: Interrupts now work, a bug in odd-length transfers has been fixed. Buffers that are not initially short aligned are also now supported. Enable USB HID mouse mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23483 a1c6a512-1295-4272-9138-f99709370657
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 }; |