Skip to content

Commit c081f66

Browse files
authored
Remove host configuration from tusb_config.h
Removed host configuration settings from tusb_config.h.
1 parent 2f68615 commit c081f66

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

components/arduino_tinyusb/include/tusb_config.h

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ extern "C" {
7676
# define CONFIG_TINYUSB_NCM_ENABLED 0
7777
#endif
7878

79-
#if CONFIG_TINYUSB_ENABLED
80-
# define CFG_TUD_ENABLED 0
81-
#endif
82-
8379
/* */
8480
/* COMMON CONFIGURATION */
8581
/* */
@@ -166,27 +162,6 @@ extern "C" {
166162
#define CFG_TUD_VENDOR_RX_BUFSIZE CONFIG_TINYUSB_VENDOR_RX_BUFSIZE
167163
#define CFG_TUD_VENDOR_TX_BUFSIZE CONFIG_TINYUSB_VENDOR_TX_BUFSIZE
168164

169-
/* */
170-
/* HOST CONFIGURATION */
171-
/* */
172-
173-
#define CFG_TUH_ENABLED CFG_TUD_ENABLED
174-
#define CFG_TUSB_RHPORT1_MODE OPT_MODE_HOST
175-
#define BOARD_TUH_RHPORT 1
176-
#define BOARD_TUH_MAX_SPEED CFG_TUD_MAX_SPEED
177-
#define CFG_TUH_ENUMERATION_BUFSIZE 256
178-
179-
#define CFG_TUH_HUB 2 // number of supported hubs
180-
#define CFG_TUH_CDC 1 // CDC ACM
181-
#define CFG_TUH_CDC_FTDI 1 // FTDI Serial. FTDI is not part of CDC class, only to re-use CDC driver API
182-
#define CFG_TUH_CDC_CP210X 1 // CP210x Serial. CP210X is not part of CDC class, only to re-use CDC driver API
183-
#define CFG_TUH_CDC_CH34X 1 // CH340 or CH341 Serial. CH34X is not part of CDC class, only to re-use CDC driver API
184-
#define CFG_TUH_HID 1 // typical keyboard + mouse device can have 3-4 HID interfaces
185-
#define CFG_TUH_MSC 1
186-
//#define CFG_TUH_VENDOR 3
187-
188-
#define CFG_TUH_DEVICE_MAX (3*CFG_TUH_HUB + 1)
189-
190165
//------------- HID -------------//
191166
#define CFG_TUH_HID_EPIN_BUFSIZE 64
192167
#define CFG_TUH_HID_EPOUT_BUFSIZE 64

0 commit comments

Comments
 (0)