This commit is contained in:
hathach committed 2019-05-15 22:51:40 +07:00
1 parent 49efd06029
commit aee0e26e50
3 files changed
+33 -36

No files matched your search

@@ -41,48 +41,48 @@
//------------- HOST -------------//
#if TUSB_OPT_HOST_ENABLED
#include "host/usbh.h"
#endif
#if HOST_CLASS_HID
#include "class/hid/hid_host.h"
#endif
#if HOST_CLASS_HID
#include "class/hid/hid_host.h"
#endif
#if CFG_TUH_MSC
#include "class/msc/msc_host.h"
#endif
#if CFG_TUH_MSC
#include "class/msc/msc_host.h"
#endif
#if CFG_TUH_CDC
#include "class/cdc/cdc_host.h"
#endif
#if CFG_TUH_CDC
#include "class/cdc/cdc_host.h"
#endif
#if CFG_TUSB_HOST_CUSTOM_CLASS
#include "class/custom_host.h"
#endif
#if CFG_TUSB_HOST_CUSTOM_CLASS
#include "class/custom_host.h"
#endif
#endif
//------------- DEVICE -------------//
#if TUSB_OPT_DEVICE_ENABLED
#include "device/usbd.h"
#endif
#if CFG_TUD_HID
#include "class/hid/hid_device.h"
#endif
#if CFG_TUD_HID
#include "class/hid/hid_device.h"
#endif
#if CFG_TUD_CDC
#include "class/cdc/cdc_device.h"
#endif
#if CFG_TUD_CDC
#include "class/cdc/cdc_device.h"
#endif
#if CFG_TUD_MSC
#include "class/msc/msc_device.h"
#endif
#if CFG_TUD_MSC
#include "class/msc/msc_device.h"
#endif
#if CFG_TUD_MIDI
#include "class/midi/midi_device.h"
#endif
#if CFG_TUD_MIDI
#include "class/midi/midi_device.h"
#endif
#if CFG_TUD_CUSTOM_CLASS
#include "class/custom/custom_device.h"
#if CFG_TUD_CUSTOM_CLASS
#include "class/custom/custom_device.h"
#endif
#endif
@@ -131,24 +131,21 @@
#endif
#ifndef CFG_TUSB_MEM_ALIGN
#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4)
#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4)
#endif
#ifndef CFG_TUSB_OS
#define CFG_TUSB_OS OPT_OS_NONE
#define CFG_TUSB_OS OPT_OS_NONE
#endif
//--------------------------------------------------------------------
// DEVICE OPTIONS
//--------------------------------------------------------------------
#ifndef CFG_TUD_ENDOINT0_SIZE
#define CFG_TUD_ENDOINT0_SIZE 64
#endif
#ifndef CFG_TUD_CTRL_BUFSIZE
#define CFG_TUD_CTRL_BUFSIZE 256
#endif
#ifndef CFG_TUD_CDC
#define CFG_TUD_CDC 0
#endif
@@ -41,8 +41,8 @@
#include "BLECharacteristic.h"
#include "BLEService.h"
// for HID definitions
#include "tusb.h"
// include usb hid definitions
#include "class/hid/hid.h"
enum
{