Skip to content

Commit f96c8fa

Browse files
authored
Update tusb_config.h
1 parent b7266dc commit f96c8fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/arduino_tinyusb/include/tusb_config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ extern "C" {
7272
# define CONFIG_TINYUSB_VENDOR_ENABLED 0
7373
#endif
7474

75+
#ifndef CONFIG_TINYUSB_NCM_ENABLED
76+
# define CONFIG_TINYUSB_NCM_ENABLED 0
77+
#endif
78+
7579
/* */
7680
/* COMMON CONFIGURATION */
7781
/* */
@@ -113,6 +117,7 @@ extern "C" {
113117
#define CFG_TUD_DFU_RUNTIME CONFIG_TINYUSB_DFU_RT_ENABLED
114118
#define CFG_TUD_DFU CONFIG_TINYUSB_DFU_ENABLED
115119
#define CFG_TUD_VENDOR CONFIG_TINYUSB_VENDOR_ENABLED
120+
#define CFG_TUD_NCM CONFIG_TINYUSB_NCM_ENABLED
116121

117122
// CDC FIFO size of TX and RX
118123
#define CFG_TUD_CDC_RX_BUFSIZE CONFIG_TINYUSB_CDC_RX_BUFSIZE

0 commit comments

Comments
 (0)