Commit 15aa6ef5 authored by Piotr Mienkowski's avatar Piotr Mienkowski Committed by Fabio Utzig
Browse files

zephyr: remove BOOT_HAVE_LOGGING Kconfig option

This commit removes the non-standard BOOT_HAVE_LOGGING Kconfig option.
Instead the standard LOG / MCUBOOT_LOG_LEVEL can be used to control
logging.

Signed-off-by: default avatarPiotr Mienkowski <piotr.mienkowski@gmail.com>
parent 520c727a
Loading
Loading
Loading
Loading
+1 −14
Changes for boot/zephyr/Kconfig: 1 added line, 14 removed lines.
Original line number Diff line number Diff line
@@ -170,22 +170,9 @@ config ZEPHYR_TRY_MASS_ERASE

	  This is not available for all targets.

config BOOT_HAVE_LOGGING
	bool "MCUboot have logging enabled"
	default y
	select LOG
	select LOG_IMMEDIATE
	help
	  If y, enables logging on the serial port. The log level can
	  be defined by setting `CONFIG_MCUBOOT_LOG_LEVEL_*`.
	  If unsure, leave at the default value.

if BOOT_HAVE_LOGGING
module = MCUBOOT
module-dep = LOG
module-str = Log level for MCUBOOT application
module-str = MCUBoot bootloader
source "subsys/logging/Kconfig.template.log_config"
endif

menuconfig MCUBOOT_SERIAL
	bool "MCUboot serial recovery"
+2
Changes for boot/zephyr/prj.conf: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -39,5 +39,7 @@ CONFIG_MULTITHREADING=n
# CONFIG_BT_CTLR is not set
# CONFIG_I2C is not set

CONFIG_LOG=y
CONFIG_LOG_IMMEDIATE=y
### Ensure Zephyr logging changes don't use more resources
CONFIG_LOG_DEFAULT_LEVEL=0