1sample:
2  name: Modbus RTU Server Sample
3tests:
4  sample.modbus.rtu_server:
5    build_only: true
6    platform_allow:
7      - nrf52840dk_nrf52840
8      - frdm_k64f
9    integration_platforms:
10      - nrf52840dk_nrf52840
11    tags:
12      - uart
13      - modbus
14    filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and
15            dt_enabled_alias_with_parent_compat("led1", "gpio-leds") and
16            dt_enabled_alias_with_parent_compat("led2", "gpio-leds")
17    depends_on:
18      - gpio
19      - arduino_serial
20  sample.modbus.rtu_server.cdc_acm:
21    build_only: true
22    platform_allow:
23      - nrf52840dk_nrf52840
24      - frdm_k64f
25    integration_platforms:
26      - nrf52840dk_nrf52840
27    tags:
28      - usb
29      - modbus
30    filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and
31            dt_enabled_alias_with_parent_compat("led1", "gpio-leds") and
32            dt_enabled_alias_with_parent_compat("led2", "gpio-leds")
33    extra_args:
34      - OVERLAY_CONFIG="overlay-cdc-acm.conf"
35      - DTC_OVERLAY_FILE="cdc-acm.overlay"
36    depends_on: usb_device
37