Skip to content
Commit 923e1b60 authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

misc/printk: Make the default char_out routine weak



Architecture init code and/or HAL layers often have a working
"putchar" routine available long before the Zephyr driver layer is
initialized.

Make the default printk() output a weak symbol, so it can be
overridden on these platforms.

Also remove the kconfig depedency on CONSOLE_HAS_DRIVER, as this is a
non-driver mechanism.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent c9a40586
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment