zephyr/lib/libc/Kconfig
Paul Sokolovsky 84e3d3e7e8 libc: Kconfig: Move STDOUT_CONSOLE from subsys/debug
This option is clearly not related to debugging, but affects libc
features.

Fixes: #5566

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-01-11 12:47:10 -05:00

46 lines
997 B
Plaintext

# Kconfig - C library
#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menu "C Library"
depends on !NATIVE_APPLICATION
config NEWLIB_LIBC
bool
prompt "Build with newlib c library"
help
Build with newlib library. The newlib library is expected to be
part of the SDK in this case.
config NEWLIB_LIBC_FLOAT_PRINTF
bool "Build with newlib float printf"
default n
depends on NEWLIB_LIBC
help
Build with floating point printf enabled. This will increase the size of
the image.
config NEWLIB_LIBC_FLOAT_SCANF
bool "Build with newlib float scanf"
default n
depends on NEWLIB_LIBC
help
Build with floating point scanf enabled. This will increase the size of
the image.
config STDOUT_CONSOLE
bool
prompt "Send stdout to console"
depends on CONSOLE_HAS_DRIVER
default n
help
This option directs standard output (e.g. printf) to the console
device, rather than suppressing it entirely. See also EARLY_CONSOLE
option.
endmenu