Skip to content
Commit a4b4b0f0 authored by Carlos Falgueras García's avatar Carlos Falgueras García Committed by Andrzej Puzdrowski
Browse files

bootutil: Refactor MCUBOOT_LOG_MODULE_(DECLARE|REGISTER) macros



The "MCUBOOT_LOG_MODULE_(DECLARE|REGISTER)" macros should have a name
coherent with the rest of the logs macors, ie "BOOT_LOG_*". Also,
"bootutil_log.h" should define them as empty when the logs are disabled and
as "MCUBOOT_LOG_MODULE_*" when they are not.

With this change, the mcuboot user doesn't have to define
MCUBOOT_LOG_MODULE_* macros if the logs don't going to be used.

Signed-off-by: default avatarCarlos Falgueras García <carlos.falgueras@wslw.es>
parent 2ae1f165
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment