zephyr/samples/modules/canopennode/sample.yaml
Henrik Brix Andersen 4af4fc0314 samples: modules: canopennode: exclude qemu_x86 from storage build
Exclude the qemu_x86 and qemu_x86_64 boards from the build-only CANopenNode
storage test.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2022-11-01 15:22:31 -04:00

32 lines
1.2 KiB
YAML

sample:
name: CANopenNode sample
common:
tags: can canopen
modules:
- canopennode
depends_on: can
filter: dt_chosen_enabled("zephyr,canbus")
harness: console
harness_config:
type: one_line
regex:
- "(.*)CANopen stack initialized"
tests:
sample.modules.canopennode:
filter: dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions") and
dt_chosen_enabled("zephyr,flash-controller") and
CONFIG_FLASH_HAS_DRIVER_ENABLED
platform_exclude: nucleo_h723zg nucleo_h743zi nucleo_h745zi_q nucleo_h753zi
sample.modules.canopennode.program_download:
build_only: true
platform_exclude: native_posix native_posix_64 rcar_h3ulcb_cr7 qemu_x86 qemu_x86_64
filter: dt_label_with_parent_compat_enabled("slot0_partition", "fixed-partitions") and
dt_label_with_parent_compat_enabled("slot1_partition", "fixed-partitions") and
dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions") and
dt_chosen_enabled("zephyr,flash-controller") and
CONFIG_FLASH_HAS_DRIVER_ENABLED
extra_configs:
- CONFIG_BOOTLOADER_MCUBOOT=y
sample.modules.canopennode.no_storage:
extra_args: CONF_FILE=prj_no_storage.conf