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:
parent
f8b97ab70e
commit
b47e37c792
1 changed files with 17 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue