Skip to content

Commit 327e01b

Browse files
nordic-piksnordicjm
authored andcommitted
samples: zephyr: bluetooth: add support for LV10
For beacon, hci_uart and peripheral_hr. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent dc2e4e5 commit 327e01b

File tree

11 files changed

+114
-2
lines changed

11 files changed

+114
-2
lines changed

CODEOWNERS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,11 +665,12 @@
665665
/samples/wifi/**/*.rst @nrfconnect/ncs-wifi-doc
666666
/samples/wifi/provisioning/softap/*.rst @nrfconnect/ncs-cia-doc
667667
/samples/zephyr/basic/blinky/ @nrfconnect/ncs-low-level-test @nrfconnect/ncs-ll-ursus
668+
/samples/zephyr/bluetooth/ @nrfconnect/ncs-low-level-test
668669
/samples/zephyr/boards/nordic/spis_wakeup/ @nrfconnect/ncs-low-level-test
669670
/samples/zephyr/boards/nordic/system_off/ @nrfconnect/ncs-low-level-test
670671
/samples/zephyr/drivers/adc/ @nrfconnect/ncs-low-level-test
671-
/samples/zephyr/drivers/counter/ @nrfconnect/ncs-low-level-test
672672
/samples/zephyr/drivers/audio/dmic/ @nrfconnect/ncs-low-level-test
673+
/samples/zephyr/drivers/counter/ @nrfconnect/ncs-low-level-test
673674
/samples/zephyr/drivers/i2c/rtio_loopback/ @nrfconnect/ncs-low-level-test
674675
/samples/zephyr/drivers/jesd216/ @nrfconnect/ncs-low-level-test
675676
/samples/zephyr/drivers/mbox/ @nrfconnect/ncs-low-level-test
@@ -681,9 +682,9 @@
681682
/samples/zephyr/sensor/qdec/ @nrfconnect/ncs-low-level-test
682683
/samples/zephyr/smp_svr_mini_boot/ @nrfconnect/ncs-pluto @nrfconnect/ncs-charon
683684
/samples/zephyr/subsys/ipc/ @nrfconnect/ncs-low-level-test
685+
/samples/zephyr/subsys/mgmt/mcumgr/smp_svr/ @nrfconnect/ncs-charon
684686
/samples/zephyr/subsys/settings/ @nrfconnect/ncs-low-level-test
685687
/samples/zephyr/subsys/usb/ @nrfconnect/ncs-low-level-test
686-
/samples/zephyr/subsys/mgmt/mcumgr/smp_svr/ @nrfconnect/ncs-charon
687688
/samples/zephyr/sysbuild/ @nrfconnect/ncs-low-level-test
688689

689690
/samples/**/*.svg @nrfconnect/ncs-doc-leads
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
cmake_minimum_required(VERSION 3.20.0)
8+
9+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
10+
project(beacon)
11+
12+
target_sources(app PRIVATE ${ZEPHYR_BASE}/samples/bluetooth/beacon/src/main.c)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This sample extends the same-named Zephyr sample to verify it
2+
with Nordic development kits.
3+
4+
Source code and basic configuration files can be found in the corresponding folder structure in zephyr/samples/bluetooth/beacon.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
sample:
2+
name: Bluetooth Beacon
3+
tests:
4+
nrf.extended.sample.bluetooth.beacon:
5+
tags: bluetooth
6+
platform_allow:
7+
- nrf54lv10dk/nrf54lv10a/cpuapp
8+
- [email protected]/nrf54lv10a/cpuapp
9+
integration_platforms:
10+
- nrf54lv10dk/nrf54lv10a/cpuapp
11+
harness: console
12+
timeout: 10
13+
harness_config:
14+
type: multi_line
15+
regex:
16+
- "Starting Beacon Demo"
17+
- "Bluetooth initialized"
18+
- "Beacon started, advertising"
19+
extra_args:
20+
- CONF_FILE="${ZEPHYR_BASE}/samples/bluetooth/beacon/prj.conf"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
cmake_minimum_required(VERSION 3.20.0)
8+
9+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
10+
project(hci_uart)
11+
12+
target_sources(app PRIVATE ${ZEPHYR_BASE}/samples/bluetooth/hci_uart/src/main.c)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This sample extends the same-named Zephyr sample to verify it
2+
with Nordic development kits.
3+
4+
Source code and basic configuration files can be found in the corresponding folder structure in zephyr/samples/bluetooth/hci_uart.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
&uart30 {
2+
compatible = "nordic,nrf-uarte";
3+
current-speed = <1000000>;
4+
status = "okay";
5+
hw-flow-control;
6+
};
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
sample:
2+
name: Bluetooth HCI UART
3+
description: Allows Zephyr to provide Bluetooth connectivity via UART
4+
tests:
5+
nrf.extended.sample.bluetooth.hci_uart:
6+
tags: bluetooth
7+
platform_allow:
8+
- nrf54lv10dk/nrf54lv10a/cpuapp
9+
- [email protected]/nrf54lv10a/cpuapp
10+
integration_platforms:
11+
- nrf54lv10dk/nrf54lv10a/cpuapp
12+
build_only: true
13+
extra_args:
14+
- CONF_FILE="${ZEPHYR_BASE}/samples/bluetooth/hci_uart/prj.conf"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
cmake_minimum_required(VERSION 3.20.0)
8+
9+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
10+
project(peripheral_hr)
11+
12+
target_sources(app PRIVATE ${ZEPHYR_BASE}/samples/bluetooth/peripheral_hr/src/main.c)
13+
14+
zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This sample extends the same-named Zephyr sample to verify it
2+
with Nordic development kits.
3+
4+
Source code and basic configuration files can be found in the corresponding folder structure in zephyr/samples/bluetooth/peripheral_hr.

0 commit comments

Comments
 (0)