Skip to content

Commit 77de593

Browse files
rugeGerritsenkartben
authored andcommitted
boards: nrf_bsim: Set chosen console dts entry
This makes the bsim boards more similar to their corresponding DKs. This makes it simpler to run samples and application requiring the use of a console. Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
1 parent a2d1b28 commit 77de593

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

boards/native/nrf_bsim/nrf52_bsim.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
chosen {
3737
zephyr,ieee802154 = &ieee802154;
3838
zephyr,flash = &flash0;
39+
zephyr,console = &uart0;
3940
/* UART used by the BT controller UART HCI driver by default: */
4041
zephyr,bt-c2h-uart = &uart1;
4142
};

boards/native/nrf_bsim/nrf5340bsim_nrf5340_cpuapp.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
};
4040

4141
chosen {
42+
zephyr,console = &uart0;
4243
zephyr,entropy = &rng_hci;
4344
zephyr,flash = &flash0;
4445
zephyr,bt-hci = &bt_hci_ipc0;

boards/native/nrf_bsim/nrf54l15bsim_nrf54l15_cpuapp.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
compatible = "bsim,nrf54l15-bsim-nrf54l15-cpuapp", "bsim,nrf54";
1616

1717
chosen {
18+
zephyr,console = &uart20;
1819
zephyr,entropy = &rng;
1920
zephyr,bt-c2h-uart = &uart20;
2021
zephyr,flash-controller = &rram_controller;

0 commit comments

Comments
 (0)