-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! pkg/tinyusb: add Kconfig variables for common tinyUSB descriptors
- Loading branch information
Showing
4 changed files
with
74 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# 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_EP_SIZE | ||
int "MSC endpoint size [byte]" | ||
default 512 | ||
|
||
config TUSBD_MSC_STRING | ||
string "MSC descriptor string" | ||
depends on TUSBD_MSC_NUMOF > 0 | ||
default "TinyUSB MSC" | ||
|
||
endif |