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: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
parent
520c727a62
commit
15aa6ef5ab
|
@ -170,22 +170,9 @@ config ZEPHYR_TRY_MASS_ERASE
|
||||||
|
|
||||||
This is not available for all targets.
|
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 = MCUBOOT
|
||||||
module-dep = LOG
|
module-str = MCUBoot bootloader
|
||||||
module-str = Log level for MCUBOOT application
|
|
||||||
source "subsys/logging/Kconfig.template.log_config"
|
source "subsys/logging/Kconfig.template.log_config"
|
||||||
endif
|
|
||||||
|
|
||||||
menuconfig MCUBOOT_SERIAL
|
menuconfig MCUBOOT_SERIAL
|
||||||
bool "MCUboot serial recovery"
|
bool "MCUboot serial recovery"
|
||||||
|
|
|
@ -39,5 +39,7 @@ CONFIG_MULTITHREADING=n
|
||||||
# CONFIG_BT_CTLR is not set
|
# CONFIG_BT_CTLR is not set
|
||||||
# CONFIG_I2C is not set
|
# CONFIG_I2C is not set
|
||||||
|
|
||||||
|
CONFIG_LOG=y
|
||||||
|
CONFIG_LOG_IMMEDIATE=y
|
||||||
### Ensure Zephyr logging changes don't use more resources
|
### Ensure Zephyr logging changes don't use more resources
|
||||||
CONFIG_LOG_DEFAULT_LEVEL=0
|
CONFIG_LOG_DEFAULT_LEVEL=0
|
||||||
|
|
Loading…
Reference in New Issue