Commit ead38a1b authored by Yuriy Vynnychek's avatar Yuriy Vynnychek Committed by Christopher Friedt
Browse files

samples: openthread: fix build fail for tlsr9518adk80d board



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

Signed-off-by: default avatarYuriy Vynnychek <yura.vynnychek@telink-semi.com>
parent 693dfcc8
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
/*
 * 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>;
};
+2 −2
Original line number Diff line number Diff line
@@ -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