zephyr/samples/subsys/logging/syst/sample.yaml
Daniel Leung 97dd0ec684 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>
2022-04-01 13:29:45 +02:00

63 lines
1.7 KiB
YAML

sample:
name: syst sample
tests:
sample.logger.syst.v1.deferred:
extra_args: OVERLAY_CONFIG=overlay_deferred.conf
platform_allow: mps2_an385 qemu_x86 qemu_x86_64 sam_e70_xplained qemu_cortex_a53
tags: logging
harness: console
harness_config:
type: one_line
regex:
- "SYS-T RAW DATA: "
extra_configs:
- CONFIG_LOG1=y
sample.logger.syst.v1.immediate:
platform_allow: mps2_an385 qemu_x86 qemu_x86_64 sam_e70_xplained qemu_cortex_a53
tags: logging
harness: console
harness_config:
type: one_line
regex:
- "SYS-T RAW DATA: "
extra_configs:
- CONFIG_LOG1=y
sample.logger.syst.v2.deferred:
extra_args: OVERLAY_CONFIG=overlay_deferred.conf
platform_allow: mps2_an385 qemu_x86 qemu_x86_64 sam_e70_xplained qemu_cortex_a53
tags: logging
harness: console
harness_config:
type: one_line
regex:
- "SYS-T RAW DATA: "
sample.logger.syst.v2.immediate:
platform_allow: mps2_an385 qemu_x86 qemu_x86_64 sam_e70_xplained qemu_cortex_a53
tags: logging
harness: console
harness_config:
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