mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Kconfig: add Kconfig for USB MSC
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
This commit is contained in:
parent
d49ed218ab
commit
a7e16536ab
@ -68,3 +68,4 @@ endif # KCONFIG_USEMODULE_USBUS
|
|||||||
rsource "cdc/Kconfig"
|
rsource "cdc/Kconfig"
|
||||||
rsource "dfu/Kconfig"
|
rsource "dfu/Kconfig"
|
||||||
rsource "hid/Kconfig"
|
rsource "hid/Kconfig"
|
||||||
|
rsource "msc/Kconfig"
|
||||||
|
31
sys/usb/usbus/msc/Kconfig
Normal file
31
sys/usb/usbus/msc/Kconfig
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright (c) 2021 Mesotic SAS
|
||||||
|
#
|
||||||
|
# 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_USBUS_MSC
|
||||||
|
bool "USBUS Mass Storage Class"
|
||||||
|
depends on MODULE_USBUS
|
||||||
|
select MODULE_MTD
|
||||||
|
select MODULE_MTD_WRITE_PAGE
|
||||||
|
select USEMODULE_USBUS_MSC
|
||||||
|
|
||||||
|
help
|
||||||
|
Configure the USBUS MSC module via Kconfig.
|
||||||
|
|
||||||
|
if MODULE_USBUS_MSC
|
||||||
|
|
||||||
|
config USBUS_MSC_VENDOR_ID
|
||||||
|
string "MSC Vendor ID"
|
||||||
|
default "RIOT-OS"
|
||||||
|
|
||||||
|
config USBUS_MSC_PRODUCT_ID
|
||||||
|
string "MSC Product ID"
|
||||||
|
default "RIOT_MSC_DISK"
|
||||||
|
|
||||||
|
config USBUS_MSC_PRODUCT_REV
|
||||||
|
string "MSC Product Revision"
|
||||||
|
default "1.0"
|
||||||
|
|
||||||
|
endif # MODULE_USBUS_MSC
|
Loading…
Reference in New Issue
Block a user