Skip to content

Commit f3583ca

Browse files
committed
[nrf noup] samples: bluetooth: Add support for nRF54lm20a to hci_uart
Add support for nRF54lm20a to the hci_uart sample. Signed-off-by: Gordon Klaus <[email protected]>
1 parent 81ae924 commit f3583ca

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&uart20 {
8+
compatible = "nordic,nrf-uarte";
9+
current-speed = <1000000>;
10+
status = "okay";
11+
hw-flow-control;
12+
};
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&uart20 {
8+
compatible = "nordic,nrf-uarte";
9+
current-speed = <1000000>;
10+
status = "okay";
11+
hw-flow-control;
12+
};
13+
14+
&radio {
15+
status = "okay";
16+
/* This is an example number of antennas that may be available
17+
* on antenna matrix board.
18+
*/
19+
dfe-antenna-num = <10>;
20+
/* This is an example switch pattern that will be used to set an
21+
* antenna for Tx PDU (period before start of Tx CTE).
22+
*/
23+
dfe-pdu-antenna = <0x0>;
24+
25+
/* These are example GPIO pin numbers that are provided to
26+
* Radio peripheral. The pins will be acquired by Radio to
27+
* drive antenna switching when AoD is enabled.
28+
*/
29+
dfegpio0-gpios = <&gpio1 4 0>;
30+
dfegpio1-gpios = <&gpio1 5 0>;
31+
dfegpio2-gpios = <&gpio1 6 0>;
32+
dfegpio3-gpios = <&gpio1 7 0>;
33+
};

samples/bluetooth/hci_uart/sample.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ tests:
88
- nrf52dk/nrf52832
99
- nrf52840dk/nrf52840
1010
- nrf21540dk/nrf52840
11+
- nrf54l15dk/nrf54l15/cpuapp
12+
- nrf54lm20dk/nrf54lm20a/cpuapp
1113
integration_platforms:
1214
- nrf52dk/nrf52832
1315
- nrf52840dk/nrf52840
1416
- nrf21540dk/nrf52840
17+
- nrf54l15dk/nrf54l15/cpuapp
18+
- nrf54lm20dk/nrf54lm20a/cpuapp
1519
tags:
1620
- uart
1721
- bluetooth
@@ -108,3 +112,14 @@ tests:
108112
tags:
109113
- uart
110114
- bluetooth
115+
sample.bluetooth.hci_uart.nrf54lm20a.all:
116+
harness: bluetooth
117+
platform_allow: nrf54lm20dk/nrf54lm20a/cpuapp
118+
integration_platforms:
119+
- nrf54lm20dk/nrf54lm20a/cpuapp
120+
extra_args:
121+
- EXTRA_CONF_FILE=overlay-all-bt_ll_sw_split.conf
122+
- DTC_OVERLAY_FILE=./boards/nrf54lm20dk_nrf54lm20a_cpuapp_df.overlay
123+
tags:
124+
- uart
125+
- bluetooth

0 commit comments

Comments
 (0)