File tree Expand file tree Collapse file tree 3 files changed +33
-36
lines changed
cores/nRF5/Adafruit_TinyUSB_Core/tinyusb/src
libraries/Bluefruit52Lib/src/services Expand file tree Collapse file tree 3 files changed +33
-36
lines changed Original file line number Diff line number Diff line change 41
41
//------------- HOST -------------//
42
42
#if TUSB_OPT_HOST_ENABLED
43
43
#include "host/usbh.h"
44
- #endif
45
44
46
- #if HOST_CLASS_HID
47
- #include "class/hid/hid_host.h"
48
- #endif
45
+ #if HOST_CLASS_HID
46
+ #include "class/hid/hid_host.h"
47
+ #endif
49
48
50
- #if CFG_TUH_MSC
51
- #include "class/msc/msc_host.h"
52
- #endif
49
+ #if CFG_TUH_MSC
50
+ #include "class/msc/msc_host.h"
51
+ #endif
53
52
54
- #if CFG_TUH_CDC
55
- #include "class/cdc/cdc_host.h"
56
- #endif
53
+ #if CFG_TUH_CDC
54
+ #include "class/cdc/cdc_host.h"
55
+ #endif
57
56
58
- #if CFG_TUSB_HOST_CUSTOM_CLASS
59
- #include "class/custom_host.h"
60
- #endif
57
+ #if CFG_TUSB_HOST_CUSTOM_CLASS
58
+ #include "class/custom_host.h"
59
+ #endif
61
60
61
+ #endif
62
62
63
63
//------------- DEVICE -------------//
64
64
#if TUSB_OPT_DEVICE_ENABLED
65
65
#include "device/usbd.h"
66
- #endif
67
66
68
- #if CFG_TUD_HID
69
- #include "class/hid/hid_device.h"
70
- #endif
67
+ #if CFG_TUD_HID
68
+ #include "class/hid/hid_device.h"
69
+ #endif
71
70
72
- #if CFG_TUD_CDC
73
- #include "class/cdc/cdc_device.h"
74
- #endif
71
+ #if CFG_TUD_CDC
72
+ #include "class/cdc/cdc_device.h"
73
+ #endif
75
74
76
- #if CFG_TUD_MSC
77
- #include "class/msc/msc_device.h"
78
- #endif
75
+ #if CFG_TUD_MSC
76
+ #include "class/msc/msc_device.h"
77
+ #endif
79
78
80
- #if CFG_TUD_MIDI
81
- #include "class/midi/midi_device.h"
82
- #endif
79
+ #if CFG_TUD_MIDI
80
+ #include "class/midi/midi_device.h"
81
+ #endif
83
82
84
- #if CFG_TUD_CUSTOM_CLASS
85
- #include "class/custom/custom_device.h"
83
+ #if CFG_TUD_CUSTOM_CLASS
84
+ #include "class/custom/custom_device.h"
85
+ #endif
86
86
#endif
87
87
88
88
Original file line number Diff line number Diff line change 131
131
#endif
132
132
133
133
#ifndef CFG_TUSB_MEM_ALIGN
134
- #define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4)
134
+ #define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4)
135
135
#endif
136
136
137
137
#ifndef CFG_TUSB_OS
138
- #define CFG_TUSB_OS OPT_OS_NONE
138
+ #define CFG_TUSB_OS OPT_OS_NONE
139
139
#endif
140
140
141
141
//--------------------------------------------------------------------
142
142
// DEVICE OPTIONS
143
143
//--------------------------------------------------------------------
144
+
144
145
#ifndef CFG_TUD_ENDOINT0_SIZE
145
146
#define CFG_TUD_ENDOINT0_SIZE 64
146
147
#endif
147
148
148
- #ifndef CFG_TUD_CTRL_BUFSIZE
149
- #define CFG_TUD_CTRL_BUFSIZE 256
150
- #endif
151
-
152
149
#ifndef CFG_TUD_CDC
153
150
#define CFG_TUD_CDC 0
154
151
#endif
Original file line number Diff line number Diff line change 41
41
#include " BLECharacteristic.h"
42
42
#include " BLEService.h"
43
43
44
- // for HID definitions
45
- #include " tusb .h"
44
+ // include usb hid definitions
45
+ #include " class/hid/hid .h"
46
46
47
47
enum
48
48
{
You can’t perform that action at this time.
0 commit comments