Skip to content

Commit 40bdb38

Browse files
committed
samples: bluetooth: initial support for LV10 DK
Building only. Base on LM20 DK. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent 8068238 commit 40bdb38

20 files changed

+278
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
CONFIG_MAIN_STACK_SIZE=3584
8+
9+
# Workaround for issue NCSDK-33313
10+
11+
# Disable Cracken for all but RNG, and switch to software crypto.
12+
13+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=y
14+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
15+
16+
CONFIG_PSA_USE_CRACEN_CIPHER_DRIVER=n
17+
CONFIG_PSA_USE_CRACEN_AEAD_DRIVER=n
18+
CONFIG_PSA_USE_CRACEN_HASH_DRIVER=n
19+
CONFIG_PSA_USE_CRACEN_MAC_DRIVER=n
20+
CONFIG_PSA_USE_CRACEN_KEY_AGREEMENT_DRIVER=n
21+
CONFIG_PSA_USE_CRACEN_ASYMMETRIC_DRIVER=n
22+
CONFIG_PSA_USE_CRACEN_KEY_MANAGEMENT_DRIVER=n
23+
CONFIG_PSA_USE_CRACEN_KEY_DERIVATION_DRIVER=n
24+
CONFIG_PSA_USE_CRACEN_PAKE_DRIVER=n
25+
CONFIG_PSA_USE_CRACEN_ASYMMETRIC_SIGNATURE_DRIVER=n
26+
27+
# END of Workaround for issue NCSDK-33313

samples/bluetooth/central_hids/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ tests:
2626
- nrf54l15dk/nrf54l10/cpuapp
2727
- nrf54l15dk/nrf54l15/cpuapp
2828
- nrf54lm20pdk/nrf54lm20a/cpuapp
29+
- nrf54lv10dk/nrf54lv10a/cpuapp
2930
- nrf54h20dk/nrf54h20/cpuapp
3031
platform_allow:
3132
- nrf52dk/nrf52832
@@ -36,6 +37,7 @@ tests:
3637
- nrf54l15dk/nrf54l10/cpuapp
3738
- nrf54l15dk/nrf54l15/cpuapp
3839
- nrf54lm20pdk/nrf54lm20a/cpuapp
40+
- nrf54lv10dk/nrf54lv10a/cpuapp
3941
- nrf54h20dk/nrf54h20/cpuapp
4042
tags:
4143
- bluetooth
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Disable the unspupported UART0 driver
8+
CONFIG_NRFX_UARTE0=n
9+
10+
# Workaround for issue NCSDK-33313
11+
12+
# Disable Cracken for all but RNG, and switch to software crypto.
13+
14+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=y
15+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
16+
17+
CONFIG_PSA_USE_CRACEN_CIPHER_DRIVER=n
18+
CONFIG_PSA_USE_CRACEN_AEAD_DRIVER=n
19+
CONFIG_PSA_USE_CRACEN_HASH_DRIVER=n
20+
CONFIG_PSA_USE_CRACEN_MAC_DRIVER=n
21+
CONFIG_PSA_USE_CRACEN_KEY_AGREEMENT_DRIVER=n
22+
CONFIG_PSA_USE_CRACEN_ASYMMETRIC_DRIVER=n
23+
CONFIG_PSA_USE_CRACEN_KEY_MANAGEMENT_DRIVER=n
24+
CONFIG_PSA_USE_CRACEN_KEY_DERIVATION_DRIVER=n
25+
CONFIG_PSA_USE_CRACEN_PAKE_DRIVER=n
26+
CONFIG_PSA_USE_CRACEN_ASYMMETRIC_SIGNATURE_DRIVER=n
27+
28+
# END of Workaround for issue NCSDK-33313
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
chosen {
9+
nordic,nus-uart = &uart20;
10+
};
11+
};

samples/bluetooth/central_uart/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ tests:
1515
- nrf54l15dk/nrf54l10/cpuapp
1616
- nrf54l15dk/nrf54l15/cpuapp
1717
- nrf54lm20pdk/nrf54lm20a/cpuapp
18+
- nrf54lv10dk/nrf54lv10a/cpuapp
1819
- nrf54h20dk/nrf54h20/cpuapp
1920
platform_allow:
2021
- nrf52dk/nrf52832
@@ -26,6 +27,7 @@ tests:
2627
- nrf54l15dk/nrf54l10/cpuapp
2728
- nrf54l15dk/nrf54l15/cpuapp
2829
- nrf54lm20pdk/nrf54lm20a/cpuapp
30+
- nrf54lv10dk/nrf54lv10a/cpuapp
2931
- nrf54h20dk/nrf54h20/cpuapp
3032
tags:
3133
- bluetooth
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
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Disable the unsupported driver
8+
CONFIG_NRFX_TIMER0=n
9+
CONFIG_NRFX_TIMER1=n
10+
CONFIG_NRFX_TIMER2=n
11+
12+
# Use necessary peripherals
13+
CONFIG_NRFX_TIMER20=y
14+
CONFIG_NRFX_TIMER10=y
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
chosen {
9+
ncs,dtm-uart = &uart20;
10+
};
11+
};
12+
13+
&uart20 {
14+
status = "okay";
15+
current-speed = <19200>;
16+
};
17+
18+
&radio {
19+
status = "okay";
20+
/* This is a number of antennas that are available on antenna matrix
21+
* designed by Nordic. For more information see README.rst.
22+
*/
23+
dfe-antenna-num = <12>;
24+
/* This is a setting that enables antenna 12 (in antenna matrix designed
25+
* by Nordic) for PDU. For more information see README.rst.
26+
*/
27+
dfe-pdu-antenna = <0x0>;
28+
29+
/* These are GPIO pin numbers that are provided to
30+
* Radio peripheral. The pins will be acquired by Radio to
31+
* drive antenna switching.
32+
* Pin numbers are selected to drive switches on antenna matrix
33+
* desinged by Nordic. For more information see README.rst.
34+
*/
35+
dfegpio0-gpios = <&gpio0 4 0>;
36+
dfegpio1-gpios = <&gpio0 5 0>;
37+
dfegpio2-gpios = <&gpio0 6 0>;
38+
dfegpio3-gpios = <&gpio0 7 0>;
39+
};

samples/bluetooth/direct_test_mode/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
- nrf54l15dk/nrf54l10/cpuapp
1414
- nrf54l15dk/nrf54l15/cpuapp
1515
- nrf54lm20pdk/nrf54lm20a/cpuapp
16+
- nrf54lv10dk/nrf54lv10a/cpuapp
1617
- nrf54h20dk/nrf54h20/cpurad
1718
platform_allow:
1819
- nrf5340dk/nrf5340/cpunet
@@ -22,6 +23,7 @@ tests:
2223
- nrf54l15dk/nrf54l10/cpuapp
2324
- nrf54l15dk/nrf54l15/cpuapp
2425
- nrf54lm20pdk/nrf54lm20a/cpuapp
26+
- nrf54lv10dk/nrf54lv10a/cpuapp
2527
- nrf54h20dk/nrf54h20/cpurad
2628
tags:
2729
- bluetooth
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
CONFIG_MAIN_STACK_SIZE=3584
8+
9+
# Workaround for issue NCSDK-33313
10+
11+
# Disable Cracken for all but RNG, and switch to software crypto.
12+
13+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=y
14+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
15+
16+
CONFIG_PSA_USE_CRACEN_CIPHER_DRIVER=n
17+
CONFIG_PSA_USE_CRACEN_AEAD_DRIVER=n
18+
CONFIG_PSA_USE_CRACEN_HASH_DRIVER=n
19+
CONFIG_PSA_USE_CRACEN_MAC_DRIVER=n
20+
CONFIG_PSA_USE_CRACEN_KEY_AGREEMENT_DRIVER=n
21+
CONFIG_PSA_USE_CRACEN_ASYMMETRIC_DRIVER=n
22+
CONFIG_PSA_USE_CRACEN_KEY_MANAGEMENT_DRIVER=n
23+
CONFIG_PSA_USE_CRACEN_KEY_DERIVATION_DRIVER=n
24+
CONFIG_PSA_USE_CRACEN_PAKE_DRIVER=n
25+
CONFIG_PSA_USE_CRACEN_ASYMMETRIC_SIGNATURE_DRIVER=n
26+
27+
# END of Workaround for issue NCSDK-33313
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
/delete-node/ nfct;
9+
};

0 commit comments

Comments
 (0)