21 lines
580 B
C
21 lines
580 B
C
// tusb_config.h — Minimal TinyUSB configuration for USB MIDI.
|
|
// Copy this file into your project root (alongside btstack_config.h).
|
|
// Adjust VID/PID and descriptor strings in usb_descriptors.c.
|
|
|
|
#ifndef _TUSB_CONFIG_H_
|
|
#define _TUSB_CONFIG_H_
|
|
|
|
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
|
|
|
|
#define CFG_TUD_MIDI 1
|
|
#define CFG_TUD_MIDI_RX_BUFSIZE 64
|
|
#define CFG_TUD_MIDI_TX_BUFSIZE 64
|
|
|
|
// Disable unused device classes
|
|
#define CFG_TUD_CDC 0
|
|
#define CFG_TUD_MSC 0
|
|
#define CFG_TUD_HID 0
|
|
#define CFG_TUD_VENDOR 0
|
|
|
|
#endif
|