File tree Expand file tree Collapse file tree 5 files changed +41
-0
lines changed Expand file tree Collapse file tree 5 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 33
33
34
34
#include "cdc_device.h"
35
35
36
+ // ESP32 out-of-sync
37
+ #ifndef CFG_TUD_MEM_SECTION
38
+ #define CFG_TUD_MEM_SECTION CFG_TUSB_MEM_SECTION
39
+ #endif
40
+
41
+ #ifndef tu_static
42
+ #define tu_static static
43
+ #endif
44
+
36
45
// Level where CFG_TUSB_DEBUG must be at least for this driver is logged
37
46
#ifndef CFG_TUD_CDC_LOG_LEVEL
38
47
#define CFG_TUD_CDC_LOG_LEVEL CFG_TUD_LOG_LEVEL
Original file line number Diff line number Diff line change 36
36
37
37
#include "hid_device.h"
38
38
39
+ // ESP32 out-of-sync
40
+ #ifndef CFG_TUD_MEM_SECTION
41
+ #define CFG_TUD_MEM_SECTION CFG_TUSB_MEM_SECTION
42
+ #endif
43
+
44
+ #ifndef tu_static
45
+ #define tu_static static
46
+ #endif
47
+
39
48
//--------------------------------------------------------------------+
40
49
// MACRO CONSTANT TYPEDEF
41
50
//--------------------------------------------------------------------+
Original file line number Diff line number Diff line change 36
36
37
37
#include "midi_device.h"
38
38
39
+ // ESP32 out-of-sync
40
+ #ifndef CFG_TUD_MEM_SECTION
41
+ #define CFG_TUD_MEM_SECTION CFG_TUSB_MEM_SECTION
42
+ #endif
43
+
44
+ #ifndef tu_static
45
+ #define tu_static static
46
+ #endif
47
+
39
48
//--------------------------------------------------------------------+
40
49
// MACRO CONSTANT TYPEDEF
41
50
//--------------------------------------------------------------------+
Original file line number Diff line number Diff line change 34
34
35
35
#include "msc_device.h"
36
36
37
+ // ESP32 out-of-sync
38
+ #ifndef CFG_TUD_MEM_SECTION
39
+ #define CFG_TUD_MEM_SECTION CFG_TUSB_MEM_SECTION
40
+ #endif
41
+
42
+ #ifndef tu_static
43
+ #define tu_static static
44
+ #endif
45
+
37
46
// Level where CFG_TUSB_DEBUG must be at least for this driver is logged
38
47
#ifndef CFG_TUD_MSC_LOG_LEVEL
39
48
#define CFG_TUD_MSC_LOG_LEVEL CFG_TUD_LOG_LEVEL
Original file line number Diff line number Diff line change 35
35
#include "device/usbd.h"
36
36
#include "device/usbd_pvt.h"
37
37
38
+ // ESP32 out-of-sync
39
+ #ifndef CFG_TUD_LOG_LEVEL
40
+ #define CFG_TUD_LOG_LEVEL 2
41
+ #endif
42
+
38
43
//--------------------------------------------------------------------+
39
44
// USBD Configuration
40
45
//--------------------------------------------------------------------+
You can’t perform that action at this time.
0 commit comments