summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/usb.h3
-rw-r--r--firmware/export/usb_core.h9
2 files changed, 1 insertions, 11 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 833d2ab35e..67793729c6 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -69,8 +69,7 @@ enum {
69enum { 69enum {
70 USB_DRIVER_MASS_STORAGE, 70 USB_DRIVER_MASS_STORAGE,
71 USB_DRIVER_SERIAL, 71 USB_DRIVER_SERIAL,
72 USB_DRIVER_CHARGING_ONLY, 72 USB_DRIVER_CHARGING_ONLY
73 USB_DRIVER_COUNT
74}; 73};
75#endif 74#endif
76#ifdef HAVE_USBSTACK 75#ifdef HAVE_USBSTACK
diff --git a/firmware/export/usb_core.h b/firmware/export/usb_core.h
index 6af3545b30..bb4ce6cedd 100644
--- a/firmware/export/usb_core.h
+++ b/firmware/export/usb_core.h
@@ -22,7 +22,6 @@
22#ifndef BOOTLOADER 22#ifndef BOOTLOADER
23 23
24//#define USB_SERIAL 24//#define USB_SERIAL
25//#define USB_BENCHMARK
26#define USB_STORAGE 25#define USB_STORAGE
27#define USB_CHARGING_ONLY 26#define USB_CHARGING_ONLY
28#else /* BOOTLOADER */ 27#else /* BOOTLOADER */
@@ -32,11 +31,6 @@
32#include "usb_ch9.h" 31#include "usb_ch9.h"
33#include "usb.h" 32#include "usb.h"
34 33
35#if defined(CPU_PP)
36#define USB_IRAM_ORIGIN ((unsigned char *)0x4000c000)
37#define USB_IRAM_SIZE ((size_t)0xc000)
38#endif
39
40/* endpoints */ 34/* endpoints */
41enum { 35enum {
42 EP_CONTROL = 0, 36 EP_CONTROL = 0,
@@ -49,9 +43,6 @@ enum {
49#ifdef USB_CHARGING_ONLY 43#ifdef USB_CHARGING_ONLY
50 EP_CHARGING_ONLY, 44 EP_CHARGING_ONLY,
51#endif 45#endif
52#ifdef USB_BENCHMARK
53 EP_BENCHMARK,
54#endif
55 NUM_ENDPOINTS 46 NUM_ENDPOINTS
56}; 47};
57 48