summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-mrobe500.h3
-rw-r--r--firmware/export/usb.h8
2 files changed, 10 insertions, 1 deletions
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h
index d9dc054524..9d04aac125 100644
--- a/firmware/export/config-mrobe500.h
+++ b/firmware/export/config-mrobe500.h
@@ -207,7 +207,7 @@
207/* enable these for the usb stack */ 207/* enable these for the usb stack */
208#define CONFIG_USBOTG USBOTG_M66591 208#define CONFIG_USBOTG USBOTG_M66591
209#define USE_ROCKBOX_USB 209#define USE_ROCKBOX_USB
210//#define USB_ENABLE_SERIAL 210
211#define HAVE_USBSTACK 211#define HAVE_USBSTACK
212//#define HAVE_USB_POWER 212//#define HAVE_USB_POWER
213//#define USBPOWER_BUTTON BUTTON_POWER 213//#define USBPOWER_BUTTON BUTTON_POWER
@@ -216,6 +216,7 @@
216#define USB_NUM_ENDPOINTS 7 216#define USB_NUM_ENDPOINTS 7
217#define USB_VENDOR_ID 0x07b4 217#define USB_VENDOR_ID 0x07b4
218#define USB_PRODUCT_ID 0x0281 218#define USB_PRODUCT_ID 0x0281
219#define HAVE_USB_HID_MOUSE
219 220
220/* Define this if hardware supports alternate blitting */ 221/* Define this if hardware supports alternate blitting */
221#define HAVE_LCD_MODES LCD_MODE_RGB565 | LCD_MODE_YUV | LCD_MODE_PAL256 222#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 c380ac518d..d432b39b14 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -98,10 +98,18 @@ enum {
98#ifdef HAVE_USBSTACK 98#ifdef HAVE_USBSTACK
99/* USB class drivers */ 99/* USB class drivers */
100enum { 100enum {
101#ifdef USB_ENABLE_STORAGE
101 USB_DRIVER_MASS_STORAGE, 102 USB_DRIVER_MASS_STORAGE,
103#endif
104#ifdef USB_ENABLE_SERIAL
102 USB_DRIVER_SERIAL, 105 USB_DRIVER_SERIAL,
106#endif
107#ifdef USB_ENABLE_CHARGING_ONLY
103 USB_DRIVER_CHARGING_ONLY, 108 USB_DRIVER_CHARGING_ONLY,
109#endif
110#ifdef USB_ENABLE_HID
104 USB_DRIVER_HID, 111 USB_DRIVER_HID,
112#endif
105 USB_NUM_DRIVERS 113 USB_NUM_DRIVERS
106}; 114};
107 115