Convert the CANopenNode sample to use sysbuild for generating MCUboot + CANopenNode sample binaries instead of using manual instructions. Rework the twister sample filtering to just list the known good boards. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
27 lines
815 B
YAML
27 lines
815 B
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:
|
|
sysbuild: True
|
|
platform_allow: frdm_k64f twr_ke18f
|
|
integration_platforms:
|
|
- frdm_k64f
|
|
sample.modules.canopennode.no_storage:
|
|
extra_args: CONF_FILE=prj_no_storage.conf
|