samples: logging/syst: build for catalog messages

This adds to sample.yaml to build for MIPI Sys-T catalog message
support.

Note that the current implementation of emitting Sys-T
catalog messages does not support 64-bit and architectures
having additional alignment requirements. So only allow qemu_x86
and mps2_an385 at the moment.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2022-02-08 08:43:00 -08:00 committed by Carles Cufí
parent a3b31149cb
commit 97dd0ec684

View file

@ -39,3 +39,24 @@ tests:
type: one_line
regex:
- "SYS-T RAW DATA: "
sample.logger.syst.catalog.v2.deferred:
extra_args: OVERLAY_CONFIG=overlay_deferred.conf
platform_allow: mps2_an385 qemu_x86
tags: logging
harness: console
harness_config:
type: one_line
regex:
- "SYS-T RAW DATA: "
extra_configs:
- CONFIG_LOG_MIPI_SYST_USE_CATALOG=y
sample.logger.syst.catalog.v2.immediate:
platform_allow: mps2_an385 qemu_x86
tags: logging
harness: console
harness_config:
type: one_line
regex:
- "SYS-T RAW DATA: "
extra_configs:
- CONFIG_LOG_MIPI_SYST_USE_CATALOG=y