summaryrefslogtreecommitdiff
path: root/firmware/export/config/erosqnative.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/erosqnative.h')
-rw-r--r--firmware/export/config/erosqnative.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/config/erosqnative.h b/firmware/export/config/erosqnative.h
index e326f29b98..f68830e211 100644
--- a/firmware/export/config/erosqnative.h
+++ b/firmware/export/config/erosqnative.h
@@ -106,7 +106,6 @@
106/* USB support */ 106/* USB support */
107#ifndef SIMULATOR 107#ifndef SIMULATOR
108#define CONFIG_USBOTG USBOTG_DESIGNWARE 108#define CONFIG_USBOTG USBOTG_DESIGNWARE
109#define USB_DW_ARCH_SLAVE
110#define USB_DW_TURNAROUND 5 109#define USB_DW_TURNAROUND 5
111#define HAVE_USBSTACK 110#define HAVE_USBSTACK
112#define USB_VENDOR_ID 0xc502 111#define USB_VENDOR_ID 0xc502
@@ -117,6 +116,10 @@
117#define HAVE_USB_CHARGING_IN_THREAD 116#define HAVE_USB_CHARGING_IN_THREAD
118#define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE 117#define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE
119#define HAVE_BOOTLOADER_USB_MODE 118#define HAVE_BOOTLOADER_USB_MODE
119/* This appears to improve transfer performance (the default is 64 KiB).
120 * Going any higher doesn't help but we're still slower than the OF. */
121#define USB_READ_BUFFER_SIZE (128 * 1024)
122#define USB_WRITE_BUFFER_SIZE (128 * 1024)
120#endif 123#endif
121 124
122/* Rockbox capabilities */ 125/* Rockbox capabilities */