Skip to content

Commit 569136a

Browse files
ananglcarlescufi
authored andcommitted
samples: net: openthread: coprocessor: Enable uart1 explicitly
This application uses the uart1 DT node, so it should enable it, not assume that it will be enabled by default for a given board. Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent 7b5780e commit 569136a

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

samples/net/openthread/coprocessor/app.overlay renamed to samples/net/openthread/coprocessor/boards/nrf52833dk_nrf52833.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@
1010
zephyr,console = &uart1;
1111
};
1212
};
13+
14+
&uart1 {
15+
status = "okay";
16+
};
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2021 Nordic Semiconductor ASA
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+
&uart1 {
15+
status = "okay";
16+
};

0 commit comments

Comments
 (0)