1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/usb/usbus/cdc/acm/Kconfig
2024-03-27 10:28:12 +01:00

43 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 "USBUS CDC ACM"
depends on USEMODULE_USBUS_CDC_ACM
config USBUS_CDC_ACM_STDIO_BUF_SIZE_EXP
int "Buffer size for STDIN and STDOUT data (as exponent of 2^n)"
depends on USEMODULE_STDIO_CDC_ACM
default 7
range 0 31
help
As buffer size ALWAYS needs to be power of two, this changes this option
represents the exponent of 2^n, which will be used as the size of the
buffer.
choice
bool "USB CDC ACM bulk endpoint size"
default USBUS_CDC_ACM_BULK_EP_SIZE_64
help
This configures the maximum amount of bytes (chars) sent per transfer
over the USB connection.
config USBUS_CDC_ACM_BULK_EP_SIZE_8
bool "8"
config USBUS_CDC_ACM_BULK_EP_SIZE_16
bool "16"
config USBUS_CDC_ACM_BULK_EP_SIZE_32
bool "32"
config USBUS_CDC_ACM_BULK_EP_SIZE_64
bool "64"
endchoice
endmenu # USBUS CDC ACM