summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/as3525.h4
-rw-r--r--firmware/export/config-c200v2.h16
-rw-r--r--firmware/export/config-clip.h9
-rw-r--r--firmware/export/config-e200v2.h2
-rw-r--r--firmware/export/config-fuze.h2
-rw-r--r--firmware/export/config-m200v4.h13
6 files changed, 31 insertions, 15 deletions
diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h
index 39e0706637..b7da19320d 100644
--- a/firmware/export/as3525.h
+++ b/firmware/export/as3525.h
@@ -500,4 +500,8 @@ interface */
500/* Timer frequency */ 500/* Timer frequency */
501#define TIMER_FREQ (24000000 / 16) 501#define TIMER_FREQ (24000000 / 16)
502 502
503/* USB : TODO */
504#define USB_NUM_ENDPOINTS 4
505#define USB_DEVBSS_ATTR IBSS_ATTR
506
503#endif /*__AS3525_H__*/ 507#endif /*__AS3525_H__*/
diff --git a/firmware/export/config-c200v2.h b/firmware/export/config-c200v2.h
index ae2cd04c0b..cde5e9b0e5 100644
--- a/firmware/export/config-c200v2.h
+++ b/firmware/export/config-c200v2.h
@@ -168,17 +168,21 @@
168/* Type of LCD : Samsung S6B33B2 */ 168/* Type of LCD : Samsung S6B33B2 */
169#define CONFIG_LCD LCD_C200 169#define CONFIG_LCD LCD_C200
170 170
171#define USB_HANDLED_BY_OF
172
173#ifndef BOOTLOADER 171#ifndef BOOTLOADER
174#define HAVE_MULTIVOLUME 172#define HAVE_MULTIVOLUME
175#define HAVE_HOTSWAP 173#define HAVE_HOTSWAP
176#endif 174
175#define USB_HANDLED_BY_OF
176
177#define CONFIG_USB USBOTG_AS3525
177 178
178/* enable these for the experimental usb stack */ 179/* enable these for the experimental usb stack */
179//#define HAVE_USBSTACK 180#define HAVE_USBSTACK
180//#define USB_VENDOR_ID 0x0781 181#define USB_VENDOR_ID 0x0781
181//#define USB_PRODUCT_ID 0x7452 182#define USB_PRODUCT_ID 0x7452
183
184#endif /* BOOTLOADER */
185
182/* Virtual LED (icon) */ 186/* Virtual LED (icon) */
183#define CONFIG_LED LED_VIRTUAL 187#define CONFIG_LED LED_VIRTUAL
184 188
diff --git a/firmware/export/config-clip.h b/firmware/export/config-clip.h
index 37b1a3185a..45b0a607c0 100644
--- a/firmware/export/config-clip.h
+++ b/firmware/export/config-clip.h
@@ -175,19 +175,14 @@
175 175
176#define USB_HANDLED_BY_OF 176#define USB_HANDLED_BY_OF
177 177
178#if 0 /* disabled since there is no USB driver */ 178#define CONFIG_USB USBOTG_AS3525
179
180/* USB On-the-go */
181#define CONFIG_USBOTG USBOTG_ARC
182 179
183/* enable these for the experimental usb stack */ 180/* enable these for the experimental usb stack */
184#define HAVE_USBSTACK 181#define HAVE_USBSTACK
185#define USB_VENDOR_ID 0x0781 182#define USB_VENDOR_ID 0x0781
186#define USB_PRODUCT_ID 0x7433 183#define USB_PRODUCT_ID 0x7433
187#endif /* BOOTLOADER */
188
189#endif
190 184
185#endif /* BOOTLOADER */
191 186
192/* Virtual LED (icon) */ 187/* Virtual LED (icon) */
193#define CONFIG_LED LED_VIRTUAL 188#define CONFIG_LED LED_VIRTUAL
diff --git a/firmware/export/config-e200v2.h b/firmware/export/config-e200v2.h
index cc66b73249..a1c41fbe7d 100644
--- a/firmware/export/config-e200v2.h
+++ b/firmware/export/config-e200v2.h
@@ -190,7 +190,7 @@
190#define CONFIG_USBOTG USBOTG_AS3525 190#define CONFIG_USBOTG USBOTG_AS3525
191 191
192/* enable these for the experimental usb stack */ 192/* enable these for the experimental usb stack */
193//#define HAVE_USBSTACK 193#define HAVE_USBSTACK
194#define USB_VENDOR_ID 0x0781 194#define USB_VENDOR_ID 0x0781
195#define USB_PRODUCT_ID 0x7423 195#define USB_PRODUCT_ID 0x7423
196 196
diff --git a/firmware/export/config-fuze.h b/firmware/export/config-fuze.h
index c8fae9aca9..b9c5acb9b1 100644
--- a/firmware/export/config-fuze.h
+++ b/firmware/export/config-fuze.h
@@ -188,7 +188,7 @@
188#define CONFIG_USBOTG USBOTG_AS3525 188#define CONFIG_USBOTG USBOTG_AS3525
189 189
190/* enable these for the experimental usb stack */ 190/* enable these for the experimental usb stack */
191//#define HAVE_USBSTACK 191#define HAVE_USBSTACK
192#define USB_VENDOR_ID 0x0781 192#define USB_VENDOR_ID 0x0781
193#define USB_PRODUCT_ID 0x7423 193#define USB_PRODUCT_ID 0x7423
194 194
diff --git a/firmware/export/config-m200v4.h b/firmware/export/config-m200v4.h
index 16b704cea4..e23f3eb0e2 100644
--- a/firmware/export/config-m200v4.h
+++ b/firmware/export/config-m200v4.h
@@ -139,6 +139,19 @@
139/* Offset ( in the firmware file's header ) to the real data */ 139/* Offset ( in the firmware file's header ) to the real data */
140#define FIRMWARE_OFFSET_FILE_DATA 8 140#define FIRMWARE_OFFSET_FILE_DATA 8
141 141
142#ifndef BOOTLOADER
143
144#define USB_HANDLED_BY_OF
145
146#define CONFIG_USB USBOTG_AS3525
147
148/* enable these for the experimental usb stack */
149#define HAVE_USBSTACK
150#define USB_VENDOR_ID 0x0781
151#define USB_PRODUCT_ID 0x7431
152
153#endif /* BOOTLOADER */
154
142/* Software controlled LED */ 155/* Software controlled LED */
143#define CONFIG_LED LED_VIRTUAL 156#define CONFIG_LED LED_VIRTUAL
144 157