2020-08-17 22:24:54 +08:00
|
|
|
sample:
|
|
|
|
name: Modbus RTU Server Sample
|
|
|
|
tests:
|
|
|
|
sample.modbus.rtu_server:
|
2022-02-08 23:46:25 +08:00
|
|
|
build_only: true
|
2021-09-28 02:51:14 +08:00
|
|
|
platform_allow: nrf52840dk_nrf52840 frdm_k64f
|
2020-08-17 22:24:54 +08:00
|
|
|
tags: uart modbus
|
2021-09-28 02:51:14 +08:00
|
|
|
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and
|
|
|
|
dt_enabled_alias_with_parent_compat("led1", "gpio-leds") and
|
|
|
|
dt_enabled_alias_with_parent_compat("led2", "gpio-leds")
|
|
|
|
depends_on: gpio arduino_serial
|
2022-07-08 00:56:21 +08:00
|
|
|
sample.modbus.rtu_server.cdc_acm:
|
|
|
|
build_only: true
|
|
|
|
platform_allow: nrf52840dk_nrf52840 frdm_k64f
|
|
|
|
tags: usb modbus
|
|
|
|
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and
|
|
|
|
dt_enabled_alias_with_parent_compat("led1", "gpio-leds") and
|
|
|
|
dt_enabled_alias_with_parent_compat("led2", "gpio-leds")
|
|
|
|
extra_args: OVERLAY_CONFIG="overlay-cdc-acm.conf"
|
|
|
|
DTC_OVERLAY_FILE="cdc-acm.overlay"
|
|
|
|
depends_on: usb_device
|