native_posix: Add logger configuration backend

Enable native logger backend for native_posix board in defconfig.
Set also logger configuration options suitable for native_posix
backend.

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2018-09-14 11:31:55 +03:00 committed by Carles Cufí
commit b47e37c792

View file

@ -38,4 +38,21 @@ endchoice
endif # BT_HCI endif # BT_HCI
if LOG
config LOG_BACKEND_NATIVE_POSIX
def_bool y
# For native_posix we can log immediately without any problem
# Doing so will be nicer for debugging
config LOG_INPLACE_PROCESS
def_bool y
# If we set LOG_INPLACE_PROCESS, there is no need to have the logging thread
# running
config LOG_PROCESS_THREAD
def_bool n
endif # LOG
endif # BOARD_NATIVE_POSIX endif # BOARD_NATIVE_POSIX