diff --git a/subsys/shell/Kconfig.backends b/subsys/shell/Kconfig.backends index c97a322f57..80dba27a70 100644 --- a/subsys/shell/Kconfig.backends +++ b/subsys/shell/Kconfig.backends @@ -35,7 +35,7 @@ DT_CHOSEN_Z_SHELL_UART := zephyr,shell-uart config UART_SHELL_ON_DEV_NAME string "Device Name of UART Device for SHELL_BACKEND_SERIAL" - default "$(dt_chosen_label,$(UART_SHELL_ON_DEV_NAME))" if HAS_DTS + default "$(dt_chosen_label,$(DT_CHOSEN_Z_SHELL_UART))" if HAS_DTS default "UART_0" help This option specifies the name of UART device to be used for the