Skip to content

Commit 3255880

Browse files
committed
Port hci_uart_async sample to Moonlight
1 parent d3d3f66 commit 3255880

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
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+
};

samples/bluetooth/hci_uart_async/sample.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ tests:
1717
tags:
1818
- uart
1919
- bluetooth
20+
sample.bluetooth.hci_uart.nrf54l15.all:
21+
harness: bluetooth
22+
platform_allow: nrf54l15pdk/nrf54l15/cpuapp
23+
integration_platforms:
24+
- nrf54l15pdk/nrf54l15/cpuapp
25+
tags:
26+
- uart
27+
- bluetooth

samples/bluetooth/hci_uart_async/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* SPDX-License-Identifier: Apache-2.0
33
*/
44

5-
extern int hci_uart_main(void);
5+
extern void hci_uart_main(void);
66

77
int main(void)
88
{

0 commit comments

Comments
 (0)