zephyr/samples/subsys/logging/dictionary/sample.yaml
Daniel Leung 2c5cf6b243 samples: logging/dictionary: fix long double compilation error
The cbprintf packaging needs CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE
to be enabled to work with long double. So #ifdef that inside
CONFIG_FPU.

Also add to the sample.yaml to enable testing with FPU and
long doubles.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-05-04 07:36:55 -04:00

27 lines
641 B
YAML

sample:
description: Dictionary-based Logging Sample Application
name: logging_dictionary
common:
integration_platforms:
- qemu_x86
- qemu_x86_64
- qemu_cortex_a53
- qemu_cortex_a53_smp
tests:
sample.logger.basic.dictionary:
build_only: true
tags: logging
sample.logger.basic.dictionary.fpu:
build_only: true
tags: logging
filter: CONFIG_CPU_HAS_FPU
extra_configs:
- CONFIG_FPU=y
sample.logger.basic.dictionary.fpu.long_double:
build_only: true
tags: logging
filter: CONFIG_CPU_HAS_FPU
extra_configs:
- CONFIG_FPU=y
- CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y