subsys logging: Enable native backend if possible
Let's always enable the native_posix backend even if the serial is used. Both can be used at the same time, and: a) users expect the logger output in the invoking shell even if they enable the UART b) Since printk is routed to the logger twister actually needs it for tests to pass as for native platforms it looks into the stdout of the process. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
009fcd70e5
commit
bd9836be8c
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
config LOG_BACKEND_NATIVE_POSIX
|
config LOG_BACKEND_NATIVE_POSIX
|
||||||
bool "Native backend"
|
bool "Native backend"
|
||||||
depends on ARCH_POSIX
|
depends on ARCH_POSIX
|
||||||
default y if !SERIAL
|
default y
|
||||||
select LOG_OUTPUT
|
select LOG_OUTPUT
|
||||||
help
|
help
|
||||||
Enable backend in native_posix
|
Enable backend in native_posix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue