samples: openthread: fix build fail for tlsr9518adk80d board

- added missed UART1 dts configuration.
- added tlsr9518adk80d board to twister.

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
This commit is contained in:
Yuriy Vynnychek 2021-09-01 12:42:38 +03:00 committed by Christopher Friedt
commit ead38a1b35
2 changed files with 26 additions and 2 deletions

View file

@ -0,0 +1,24 @@
/*
* Copyright (c) 2021 Telink Semiconductor
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,ot-uart = &uart0;
zephyr,console = &uart1;
};
};
&uart0 {
status = "okay";
current-speed = <57600>;
pinctrl-0 = <&uart0_tx_pb2 &uart0_rx_pb3>;
};
&uart1 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&uart1_tx_pc6 &uart1_rx_pc7>;
};

View file

@ -9,7 +9,7 @@ sample:
tests:
sample.net.openthread.coprocessor:
build_only: true
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833 tlsr9518adk80d
tags: ci_build
sample.net.openthread.coprocessor.usb:
build_only: true
@ -19,6 +19,6 @@ tests:
DTC_OVERLAY_FILE="usb.overlay"
samples.openthread.coprocessor.rcp:
build_only: true
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833 tlsr9518adk80d
tags: ci_build
extra_args: OVERLAY_CONFIG=overlay-rcp.conf