mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
91c171a990
The commit includes the following changes: - Remaining CONFIG_* symbols are moved to tinyusb_descriptors.h to be visible in all source files. - Debug output is added to some descriptor callbacks. - The conditional definitions of CFG_* symbols are changed to unconditional definitions to ensure that Kconfig CONFIG_* symbols are always used.
31 lines
690 B
Plaintext
31 lines
690 B
Plaintext
# Copyright (c) 2022 Gunar Schorcht
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
menuconfig MODULE_TINYUSB_CLASS_MSC
|
|
bool "Mass Storage Class (MSC)"
|
|
|
|
if MODULE_TINYUSB_CLASS_MSC && MODULE_TINYUSB_DEVICE
|
|
|
|
config TUSBD_MSC_NUMOF
|
|
int
|
|
default 1
|
|
|
|
config TUSBD_MSC_FS_EP_SIZE
|
|
int "MSC Full-Speed endpoint size [byte]"
|
|
default 64
|
|
|
|
config TUSBD_MSC_HS_EP_SIZE
|
|
int "MSC High-Speed endpoint size [byte]"
|
|
default 512
|
|
|
|
config TUSBD_MSC_STRING
|
|
string "MSC descriptor string"
|
|
depends on TUSBD_MSC_NUMOF > 0
|
|
default "TinyUSB MSC"
|
|
|
|
endif
|