logging: Add MIPI sys-t support for v2 logging subsystem.

Adding functions log_output_msg2_syst_process and hexdump2_print
to support v2 logging subsystem.

Updates west.yml to pick up a new version of the MIPI sys-t library that
supports vprintf.

Signed-off-by: Aastha Grover <aastha.grover@intel.com>
Signed-off-by: Maureen Helm <maureen.helm@intel.com>
This commit is contained in:
Aastha Grover 2021-10-28 16:07:54 -07:00 committed by Carles Cufí
commit a89fae798c
6 changed files with 58 additions and 5 deletions

View file

@ -87,6 +87,8 @@ static void log_backend_swo_process(const struct log_backend *const backend,
{
uint32_t flags = log_backend_std_get_flags();
flags |= IS_ENABLED(CONFIG_LOG_BACKEND_SWO_SYST_ENABLE) ? LOG_OUTPUT_FLAG_FORMAT_SYST : 0;
log_output_msg2_process(&log_output_swo, &msg->log, flags);
}