Commit 29ec31bf authored by Daniel Leung's avatar Daniel Leung Committed by Christopher Friedt
Browse files

console: native_posix: change init priority to 99



This changes the init priority of native posix console to 99.
When building for native_posix, it is usually assumed that
the output would be stdout. With old priority at 60, UART
console, for example, can be initialized later which means
printk() would not go to stdout. So changing the native posix
console to be (hopefully) initialized last.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent f0b3146f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -323,7 +323,7 @@ config XTENSA_CONSOLE_INIT_PRIORITY

config NATIVE_POSIX_CONSOLE_INIT_PRIORITY
	int "Init priority"
	default 60
	default 99
	depends on NATIVE_POSIX_CONSOLE
	help
	  Device driver initialization priority.