zephyr/samples/subsys/usb/cdc_acm/sample.yaml
Alberto Escolar Piedras 5bf7109767 samples/subsys/usb/cdc_acm: Enable for native_sim
Allow this sample in native_sim, and set it as default
integration platform instead of native_posix.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-16 09:37:59 +01:00

45 lines
1002 B
YAML

sample:
name: CDC ACM USB
tests:
sample.usb.cdc-acm:
depends_on: usb_device
tags: usb
arch_exclude: posix
harness: console
harness_config:
type: one_line
regex:
- "Wait for DTR"
sample.usb_device_next.cdc-acm:
depends_on: usb_device
tags: usb
extra_args: CONF_FILE="usbd_next_prj.conf"
platform_allow:
- nrf52840dk_nrf52840
- frdm_k64f
- 96b_carbon
harness: console
harness_config:
type: one_line
regex:
- "Wait for DTR"
sample.usb.cdc-acm.comp:
depends_on: usb_device
tags: usb
arch_exclude: posix
extra_args:
- OVERLAY_CONFIG=overlay-composite-cdc-msc.conf
- EXTRA_DTC_OVERLAY_FILE="ramdisk.overlay"
harness: console
harness_config:
type: one_line
regex:
- "Wait for DTR"
sample.usb.cdc-acm.buildonly:
depends_on: usb_device
tags: usb
arch_allow: posix
build_only: true
integration_platforms:
- native_sim