zephyr/samples/modules/canopennode/sample.yaml
Gerard Marull-Paretas 238d113185 samples: modules: canopennode: set bootloader in sample.yaml
Set the bootloader choice for the
sample.modules.canopennode.program_download test case in the sample.yaml
file instead of sysbuild.conf. The reason for this change is to avoid
building MCUboot by default when using the --sysbuild option, as it may
not be compatible with all platforms. This is currently causing issues
on platforms like nRF54H20 where sysbuild is always used.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-06-12 12:48:28 -04:00

33 lines
705 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:
depends_on: nvs
sample.modules.canopennode.program_download:
sysbuild: true
depends_on: nvs
platform_allow:
- frdm_k64f
- twr_ke18f
integration_platforms:
- frdm_k64f
extra_args:
canopennode_CONF_FILE=prj_img_mgmt.conf
SB_CONFIG_BOOTLOADER_MCUBOOT=y
sample.modules.canopennode.no_storage:
extra_args: CONF_FILE=prj_no_storage.conf