shell: remove Console dependencies
Removed Console dependencies from shell uart backend. Generated define: CONFIG_UART_SHELL_ON_DEV_NAME for each board. Fixes #10191 Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
58463b7ea7
commit
f8178dcb05
128 changed files with 136 additions and 1 deletions
|
@ -229,7 +229,7 @@ static int enable_shell_uart(struct device *arg)
|
|||
{
|
||||
ARG_UNUSED(arg);
|
||||
struct device *dev =
|
||||
device_get_binding(CONFIG_UART_CONSOLE_ON_DEV_NAME);
|
||||
device_get_binding(CONFIG_UART_SHELL_ON_DEV_NAME);
|
||||
bool log_backend = CONFIG_SHELL_BACKEND_SERIAL_LOG_LEVEL > 0;
|
||||
u32_t level =
|
||||
(CONFIG_SHELL_BACKEND_SERIAL_LOG_LEVEL > LOG_LEVEL_DBG) ?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue