File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 103
103
#define CFG_TUH_ENUMERATION_BUFSIZE 256
104
104
105
105
#define CFG_TUH_HUB 1 // number of supported hubs
106
- #define CFG_TUH_CDC 4 // number of supported CDC devices. also activates CDC ACM
106
+ #define CFG_TUH_CDC 2 // number of supported CDC devices. also activates CDC ACM
107
107
#define CFG_TUH_CDC_FTDI 1 // FTDI Serial. FTDI is not part of CDC class, only to re-use CDC driver API
108
108
#define CFG_TUH_CDC_CP210X 1 // CP210x Serial. CP210X is not part of CDC class, only to re-use CDC driver API
109
109
#define CFG_TUH_CDC_CH34X 1 // CH340 or CH341 Serial. CH34X is not part of CDC class, only to re-use CDC driver API
122
122
//------------- CDC -------------//
123
123
124
124
// Set Line Control state on enumeration/mounted:
125
+ // DTR ( bit 0), RTS (bit 1)
125
126
#define CFG_TUH_CDC_LINE_CONTROL_ON_ENUM (CDC_CONTROL_LINE_STATE_DTR | CDC_CONTROL_LINE_STATE_RTS)
126
127
127
128
// Set Line Coding on enumeration/mounted, value for cdc_line_coding_t
Original file line number Diff line number Diff line change 127
127
//------------- CDC -------------//
128
128
129
129
// Set Line Control state on enumeration/mounted:
130
+ // DTR ( bit 0), RTS (bit 1)
130
131
#define CFG_TUH_CDC_LINE_CONTROL_ON_ENUM (CDC_CONTROL_LINE_STATE_DTR | CDC_CONTROL_LINE_STATE_RTS)
131
132
132
133
// Set Line Coding on enumeration/mounted, value for cdc_line_coding_t
Original file line number Diff line number Diff line change 42
42
43
43
// Level where CFG_TUSB_DEBUG must be at least for this driver is logged
44
44
#ifndef CFG_TUH_CDC_LOG_LEVEL
45
- #define CFG_TUH_CDC_LOG_LEVEL 1
45
+ #define CFG_TUH_CDC_LOG_LEVEL 2
46
46
#endif
47
47
48
48
#define TU_LOG_DRV (...) TU_LOG(CFG_TUH_CDC_LOG_LEVEL, __VA_ARGS__)
You can’t perform that action at this time.
0 commit comments