libc: Kconfig: Enable STDOUT_CONSOLE by default if NEWLIB_LIBC.

Enable stdio to work by default if Newlib is used as libc - it's
reasonable expectation that if full-fledged libc (like Newlib) is
selected, then printf() works out of the box.

Fixes: #5566

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2018-01-05 15:06:55 +02:00 committed by Anas Nashif
commit 323e8cf069

View file

@ -37,6 +37,7 @@ config STDOUT_CONSOLE
prompt "Send stdout to console"
depends on CONSOLE_HAS_DRIVER
default n
default y if NEWLIB_LIBC
help
This option directs standard output (e.g. printf) to the console
device, rather than suppressing it entirely. See also EARLY_CONSOLE