#pragma once // Windows only supports RNDIS, and apparently doesn't like composite devices with two configurations. // Mac only supports CDC-ECM, which we present as the second config in a dual configuration device // Linux supports either RNDIS, CDC-ECM or CDC-NCM #define CFG_TUD_ECM_RNDIS 1 #define CFG_TUD_MSC 1 // This enables mass storage #define CFG_TUD_MSC_EP_BUFSIZE 512 // Also Add msc_disk.c and descritors #define CFG_TUD_NCM 0 #define BOARD_DEVICE_RHPORT_NUM 0 #define BOARD_DEVICE_RHPORT_SPEED OPT_MODE_FULL_SPEED #define CFG_TUSB_RHPORT0_MODE (OPT_MODE_DEVICE | BOARD_DEVICE_RHPORT_SPEED)