subsys: console: Make CONSOLE_GETCHAR and *_GETLINE optional

It should be possible to make both these options off, and that
should be default, otherwise targets not supporting them yet, e.g.
native_posix, have build issues.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2018-06-18 18:38:01 +03:00 committed by Anas Nashif
parent f6d8ab8289
commit 5acb7fc9a9

View file

@ -16,6 +16,7 @@ config CONSOLE_SUBSYS
if CONSOLE_SUBSYS
choice
prompt "Console 'get' function selection"
optional
config CONSOLE_GETCHAR
bool "Character by character input and output"