1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/usb/usbus/Kconfig
2024-03-27 10:28:12 +01:00

45 lines
1.1 KiB
Plaintext

# Copyright (c) 2020 HAW Hamburg
#
# 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.
#
menu "Configure USB Unified Stack (USBUS)"
depends on USEMODULE_USBUS
config USBUS_AUTO_ATTACH
bool "Auto attach"
default y
help
When set, the USBUS thread will automatically enable the USB pull-up
resistor after initializing the thread. This will signal to the host
that the USB peripheral is ready for use.
choice
bool "Endpoint 0 buffer size"
default USBUS_EP0_SIZE_64
help
This configures the buffer size of the control endpoint. Unless you
transfer large amount of data often over the control endpoint, a minimal
size should be sufficient.
config USBUS_EP0_SIZE_8
bool "8"
config USBUS_EP0_SIZE_16
bool "16"
config USBUS_EP0_SIZE_32
bool "32"
config USBUS_EP0_SIZE_64
bool "64"
endchoice
endmenu # Configure USB Unified Stack (USBUS)
rsource "cdc/Kconfig"
rsource "dfu/Kconfig"
rsource "hid/Kconfig"
rsource "msc/Kconfig"