mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
46 lines
1.1 KiB
Plaintext
46 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.
|
||
|
#
|
||
|
menuconfig KCONFIG_MODULE_USBUS
|
||
|
bool "Configure USB Unified Stack (USBUS)"
|
||
|
depends on MODULE_USBUS
|
||
|
help
|
||
|
Configure the USBUS module via Kconfig.
|
||
|
|
||
|
if KCONFIG_MODULE_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
|
||
|
|
||
|
endif # KCONFIG_MODULE_USBUS
|