Skip to content

Commit ead38a1

Browse files
Yuriy Vynnychekcfriedt
authored andcommitted
samples: openthread: fix build fail for tlsr9518adk80d board
- added missed UART1 dts configuration. - added tlsr9518adk80d board to twister. Signed-off-by: Yuriy Vynnychek <[email protected]>
1 parent 693dfcc commit ead38a1

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright (c) 2021 Telink Semiconductor
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
chosen {
9+
zephyr,ot-uart = &uart0;
10+
zephyr,console = &uart1;
11+
};
12+
};
13+
14+
&uart0 {
15+
status = "okay";
16+
current-speed = <57600>;
17+
pinctrl-0 = <&uart0_tx_pb2 &uart0_rx_pb3>;
18+
};
19+
20+
&uart1 {
21+
status = "okay";
22+
current-speed = <115200>;
23+
pinctrl-0 = <&uart1_tx_pc6 &uart1_rx_pc7>;
24+
};

samples/net/openthread/coprocessor/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sample:
99
tests:
1010
sample.net.openthread.coprocessor:
1111
build_only: true
12-
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833
12+
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833 tlsr9518adk80d
1313
tags: ci_build
1414
sample.net.openthread.coprocessor.usb:
1515
build_only: true
@@ -19,6 +19,6 @@ tests:
1919
DTC_OVERLAY_FILE="usb.overlay"
2020
samples.openthread.coprocessor.rcp:
2121
build_only: true
22-
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833
22+
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833 tlsr9518adk80d
2323
tags: ci_build
2424
extra_args: OVERLAY_CONFIG=overlay-rcp.conf

0 commit comments

Comments
 (0)