diff options
| author | Ha Thach <[email protected]> | 2021-10-12 22:01:02 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-12 22:01:02 +0700 |
| commit | 379537cb6deed9c9c055d0fd34d9a941f47ffc02 (patch) | |
| tree | a457364337eed1c0ad3bd01433ecf48d9d99015e /src/tusb_option.h | |
| parent | 557fa3900a78f1c378c5653d590253ea87450013 (diff) | |
| parent | ecec0370cac2a64ef2a0cf2e4e13f1c4e738e81b (diff) | |
Merge branch 'master' into add_uvc
Diffstat (limited to 'src/tusb_option.h')
| -rw-r--r-- | src/tusb_option.h | 45 |
1 files changed, 39 insertions, 6 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h index a728581f6..b2ebfdf66 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -265,14 +265,23 @@ #define CFG_TUD_DFU 0 #endif -#ifndef CFG_TUD_NET - #define CFG_TUD_NET 0 -#endif - #ifndef CFG_TUD_BTH #define CFG_TUD_BTH 0 #endif +#ifndef CFG_TUD_ECM_RNDIS + #ifdef CFG_TUD_NET + #warning "CFG_TUD_NET is renamed to CFG_TUD_ECM_RNDIS" + #define CFG_TUD_ECM_RNDIS CFG_TUD_NET + #else + #define CFG_TUD_ECM_RNDIS 0 + #endif +#endif + +#ifndef CFG_TUD_NCM + #define CFG_TUD_NCM 0 +#endif + //-------------------------------------------------------------------- // HOST OPTIONS //-------------------------------------------------------------------- @@ -284,10 +293,34 @@ #ifndef CFG_TUH_ENUMERATION_BUFSIZE #define CFG_TUH_ENUMERATION_BUFSIZE 256 #endif - - //------------- CLASS -------------// #endif // TUSB_OPT_HOST_ENABLED +//------------- CLASS -------------// + +#ifndef CFG_TUH_HUB +#define CFG_TUH_HUB 0 +#endif + +#ifndef CFG_TUH_CDC +#define CFG_TUH_CDC 0 +#endif + +#ifndef CFG_TUH_HID +#define CFG_TUH_HID 0 +#endif + +#ifndef CFG_TUH_MIDI +#define CFG_TUH_MIDI 0 +#endif + +#ifndef CFG_TUH_MSC +#define CFG_TUH_MSC 0 +#endif + +#ifndef CFG_TUH_VENDOR +#define CFG_TUH_VENDOR 0 +#endif + //--------------------------------------------------------------------+ // Port Specific // TUP stand for TinyUSB Port (can be renamed) |
