zephyr/subsys/console
Ulf Magnusson 97de99adca console: kconfig: Have CONSOLE_{GETCHAR,GETLINE} depend on UART_CONSOLE
CONSOLE_GETCHAR and CONSOLE_GETLINE select CONSOLE_HANDLER and
UART_CONSOLE_DEBUG_SERVER_HOOKS, which depend on UART_CONSOLE, but
UART_CONSOLE is n for some boards, giving a select with unsatisfied
dependencies and a warning. Triggers in CI.

Looking at the code, CONSOLE_{GETCHAR,GETLINE} also depend on
UART_CONSOLE there. Add a 'depends on UART_CONSOLE' to the 'choice' that
contains them.

Maybe the samples/subsys/console/{echo,getchar}/ samples shouldn't be
run on some boards that they're currently run on, but there's still the
issue that CONSOLE_{GETCHAR,GETLINE} shouldn't be shown in menuconfig
when they don't apply.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-01-22 22:47:02 -05:00
..
CMakeLists.txt console: Remove deprecated function console_register_line_input 2019-09-18 19:14:25 -05:00
getchar.c subsystem: console: tty init checks and support for polled-only devices 2019-09-08 12:43:49 +02:00
getline.c cleanup: include/: move uart.h to drivers/uart.h 2019-06-27 22:55:49 -04:00
Kconfig console: kconfig: Have CONSOLE_{GETCHAR,GETLINE} depend on UART_CONSOLE 2020-01-22 22:47:02 -05:00
tty.c coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00