1sample:
2  name: CANopenNode sample
3common:
4  tags:
5    - can
6    - canopen
7  modules:
8    - canopennode
9  depends_on: can
10  filter: dt_chosen_enabled("zephyr,canbus")
11  harness: console
12  harness_config:
13    type: one_line
14    regex:
15      - "(.*)CANopen stack initialized"
16tests:
17  sample.modules.canopennode:
18    filter: dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
19      and dt_chosen_enabled("zephyr,flash-controller") and CONFIG_FLASH_HAS_DRIVER_ENABLED
20    platform_exclude:
21      - nucleo_h723zg
22      - nucleo_h743zi
23      - nucleo_h745zi_q
24      - nucleo_h753zi
25  sample.modules.canopennode.program_download:
26    sysbuild: true
27    platform_allow:
28      - frdm_k64f
29      - twr_ke18f
30    integration_platforms:
31      - frdm_k64f
32    extra_args: canopennode_CONF_FILE=prj_img_mgmt.conf
33  sample.modules.canopennode.no_storage:
34    extra_args: CONF_FILE=prj_no_storage.conf
35