mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
iPod Classic: use the new USB DesignWare driver
Change-Id: I36aabb5cb9cfe2d8c4f8fbcea944efec58ef9671
This commit is contained in:
parent
5e305d35c9
commit
3c5aa754de
4 changed files with 158 additions and 5 deletions
|
|
@ -238,12 +238,15 @@
|
|||
#define DEFAULT_BRIGHTNESS_SETTING 0x20
|
||||
|
||||
/* USB defines */
|
||||
#define CONFIG_USBOTG USBOTG_DESIGNWARE
|
||||
#define USB_DW_CLOCK 0
|
||||
#define USB_DW_TURNAROUND 5
|
||||
/* logf() over USB serial (http://www.rockbox.org/wiki/PortalPlayerUsb) */
|
||||
//#define USB_ENABLE_SERIAL
|
||||
#define HAVE_USBSTACK
|
||||
#define HAVE_USB_HID_MOUSE
|
||||
#define CONFIG_USBOTG USBOTG_S3C6400X
|
||||
#define USB_VENDOR_ID 0x05AC
|
||||
#define USB_PRODUCT_ID 0x1261
|
||||
#define USB_NUM_ENDPOINTS 6
|
||||
#define USB_DEVBSS_ATTR __attribute__((aligned(32)))
|
||||
|
||||
#define USB_READ_BUFFER_SIZE (1024*24)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue