Skip to content

Commit 85f87ea

Browse files
committed
samples: openthread: coprocessor: Add chosen zephyr,ot-uart
As per upstream commit f460848, the OpenThread UART instance is now configured with DT instead of Kconfig. Signed-off-by: Robert Lubos <[email protected]>
1 parent 2532d4c commit 85f87ea

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

samples/openthread/coprocessor/boards/nrf21540dk_nrf52840.overlay

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@
2525
*/
2626
chosen {
2727
zephyr,entropy = &rng;
28+
zephyr,ot-uart = &uart0;
2829
};
2930
};

samples/openthread/coprocessor/boards/nrf52833dk_nrf52833.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@
1313
current-speed = <1000000>;
1414
status = "okay";
1515
};
16+
17+
/ {
18+
chosen {
19+
zephyr,ot-uart = &uart0;
20+
};
21+
};

samples/openthread/coprocessor/boards/nrf52840dk_nrf52840.overlay

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@
2323
*/
2424
chosen {
2525
zephyr,entropy = &rng;
26+
zephyr,ot-uart = &uart0;
2627
};
2728
};

0 commit comments

Comments
 (0)