1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/Kconfig.stdio: Add FORCE_ and REQUIRES_ USB

This commit is contained in:
MrKevinWeiss 2023-04-05 15:04:48 +02:00
parent e481571b4e
commit adff099d61
No known key found for this signature in database
GPG Key ID: 4B69974722CBEEAE

View File

@ -8,6 +8,15 @@
menu "Standard Input/Output (STDIO)"
depends on TEST_KCONFIG
config FORCE_USB_STDIO
bool "Force a USB based STDIO"
depends on HAS_PERIPH_USBDEV || HAS_TINYUSB_DEVICE
select KCONFIG_USB
select REQUIRES_USB_STDIO
help
To prevent a circular dependency, can force the USB modules to that
STDIO will select some sort of USB based STDIO backend.
choice STDIO_IMPLEMENTATION
bool "STDIO implementation"
default MODULE_STDIO_NATIVE if CPU_ARCH_NATIVE
@ -85,4 +94,9 @@ config USE_STDOUT_BUFFERED
help
Select this to prefer buffered standard output if provided by the implementation.
config REQUIRES_USB_STDIO
bool
help
Indicates that the STDIO requires some USB implementation to be enabled.
endmenu # Standard Input/Output (STDIO)