logging: remove CONFIG_LOG2_MSG_PKG_ALWAYS_ADD_RO_STRING_IDXS
CONFIG_LOG2_MSG_PKG_ALWAYS_ADD_RO_STRING_IDXS was added as a stop-gap measure to support Sys-T catalog messages. Since the Sys-T backend has envolved to use tagged argument, this kconfig and its effect are no longer needed. So remove it. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
@@ -139,9 +139,7 @@ enum z_log_msg2_mode {
|
||||
}
|
||||
|
||||
#define Z_LOG_MSG2_CBPRINTF_FLAGS(_cstr_cnt) \
|
||||
(CBPRINTF_PACKAGE_FIRST_RO_STR_CNT(_cstr_cnt) | \
|
||||
(IS_ENABLED(CONFIG_LOG2_MSG_PKG_ALWAYS_ADD_RO_STRING_IDXS) ? \
|
||||
CBPRINTF_PACKAGE_ADD_STRING_IDXS : 0))
|
||||
(CBPRINTF_PACKAGE_FIRST_RO_STR_CNT(_cstr_cnt))
|
||||
|
||||
#ifdef CONFIG_LOG2_USE_VLA
|
||||
#define Z_LOG_MSG2_ON_STACK_ALLOC(ptr, len) \
|
||||
|
||||
@@ -75,11 +75,4 @@ config LOG_MEM_UTILIZATION
|
||||
config LOG_DICTIONARY_DB
|
||||
bool
|
||||
|
||||
config LOG2_MSG_PKG_ALWAYS_ADD_RO_STRING_IDXS
|
||||
bool
|
||||
help
|
||||
Enable this option to force log messages to always append indexes of
|
||||
read-only string arguments in the package. This should be selected by
|
||||
backends if required.
|
||||
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user