Files
Linus Torvalds 0ba6767717 Remove "USB HOST" support
That code only existed as a UI for a device - and that UI no longer
exists and has been entirely replaced by the WebMIDI capability.

So remove the whole config option, and some of the actions that were
only relevant when the device was displaying remote data.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2026-07-24 16:04:18 -07:00

23 lines
849 B
C

#include "pico.h"
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
#define CFG_TUD_ENABLED 1
#define CFG_TUD_AUDIO 1
#define CFG_TUD_MIDI 1
#define CFG_TUD_ENDPOINT0_SIZE 64
#define CFG_TUD_MIDI_RX_BUFSIZE 64
#define CFG_TUD_MIDI_TX_BUFSIZE 8192
#define CFG_TUD_MIDI_EP_BUFSIZE 64
#define CFG_TUD_AUDIO_FUNC_1_EP_IN_SZ_MAX (48 * 4 * 2)
#define CFG_TUD_AUDIO_FUNC_1_EP_IN_SW_BUF_SZ (48 * 4 * 2 * 2)
#define CFG_TUD_AUDIO_ENABLE_EP_IN (1)
#define CFG_TUD_AUDIO_FUNC_1_FORMAT_1_N_BYTES_PER_SAMPLE_TX (4)
#define CFG_TUD_AUDIO_FUNC_1_FORMAT_1_RESOLUTION_TX (32)
#define CFG_TUD_AUDIO_FUNC_1_EP_OUT_SZ_MAX (48 * 4 * 2)
#define CFG_TUD_AUDIO_FUNC_1_EP_OUT_SW_BUF_SZ (48 * 4 * 2 * 2)
#define CFG_TUD_AUDIO_ENABLE_EP_OUT (1)
#define CFG_TUD_AUDIO_FUNC_1_FORMAT_1_N_BYTES_PER_SAMPLE_RX (4)
#define CFG_TUD_AUDIO_FUNC_1_FORMAT_1_RESOLUTION_RX (32)