console: Fix Kconfig dependency for xtensa sim

Xtensa simulator console should not be enabled when the target is using
winstream console, otherwise we will have multiple definitions of the
same function.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2023-11-22 22:41:32 +00:00 committed by Anas Nashif
parent a25e211ad2
commit be1720872c

View file

@ -222,6 +222,7 @@ endif # UART_MCUMGR
config XTENSA_SIM_CONSOLE
bool "Use Xtensa simulator console"
depends on SIMULATOR_XTENSA
depends on !WINSTREAM_CONSOLE
select CONSOLE_HAS_DRIVER
default y
help