Skip to content

Commit 32c9812

Browse files
alstrzebonskirlubos
authored andcommitted
samples: bluetooth: fast_pair: locator_tag: add support for nRF54LM20
Added support for the nRF54LM20 board target in the Fast Pair Locator Tag sample. Jira: NCSDK-34261 Signed-off-by: Aleksander Strzebonski <[email protected]>
1 parent 15901dc commit 32c9812

File tree

8 files changed

+148
-0
lines changed

8 files changed

+148
-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+
# Align the TX power encoded in the Fast Pair advertising set and
8+
# the Read Beacon Parameters response with Fast Pair expectations.
9+
CONFIG_BT_ADV_PROV_TX_POWER_CORRECTION_VAL=-11
10+
CONFIG_BT_FAST_PAIR_FMDN_TX_POWER_CORRECTION_VAL=-11
11+
12+
# START of workaround for issue NCSDK-33313
13+
# Disable CRACEN for all but RNG and switch to software crypto.
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_ENCRYPTION_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+
# END of workaround for issue NCSDK-33313
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/* Application does not use cpuflpr core. Assign whole RRAM to cpuapp. */
8+
&cpuapp_rram {
9+
reg = < 0x0 DT_SIZE_K(2036) >;
10+
};
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
mcuboot:
2+
address: 0x0
3+
region: flash_primary
4+
size: 0x9000
5+
6+
mcuboot_primary:
7+
address: 0x9000
8+
orig_span: &id001
9+
- app
10+
- mcuboot_pad
11+
region: flash_primary
12+
size: 0xf7000
13+
span: *id001
14+
mcuboot_pad:
15+
address: 0x9000
16+
region: flash_primary
17+
size: 0x800
18+
app:
19+
address: 0x9800
20+
region: flash_primary
21+
size: 0xf6800
22+
mcuboot_primary_app:
23+
address: 0x9800
24+
orig_span: &id002
25+
- app
26+
region: flash_primary
27+
size: 0xf6800
28+
span: *id002
29+
30+
mcuboot_secondary:
31+
address: 0x100000
32+
orig_span: &id003
33+
- mcuboot_secondary_pad
34+
- mcuboot_secondary_app
35+
region: flash_primary
36+
size: 0xf7000
37+
span: *id003
38+
mcuboot_secondary_pad:
39+
address: 0x100000
40+
region: flash_primary
41+
size: 0x800
42+
mcuboot_secondary_app:
43+
address: 0x100800
44+
region: flash_primary
45+
size: 0xf6800
46+
47+
bt_fast_pair:
48+
address: 0x1f7000
49+
region: flash_primary
50+
size: 0x1000
51+
52+
settings_storage:
53+
address: 0x1f8000
54+
region: flash_primary
55+
size: 0x5000

samples/bluetooth/fast_pair/locator_tag/sample.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tests:
1414
- nrf54l15dk/nrf54l05/cpuapp
1515
- nrf54l15dk/nrf54l10/cpuapp
1616
- nrf54l15dk/nrf54l15/cpuapp
17+
- nrf54lm20dk/nrf54lm20a/cpuapp
1718
- nrf54h20dk/nrf54h20/cpuapp
1819
- thingy53/nrf5340/cpuapp
1920
- thingy53/nrf5340/cpuapp/ns
@@ -26,6 +27,7 @@ tests:
2627
- nrf54l15dk/nrf54l05/cpuapp
2728
- nrf54l15dk/nrf54l10/cpuapp
2829
- nrf54l15dk/nrf54l15/cpuapp
30+
- nrf54lm20dk/nrf54lm20a/cpuapp
2931
- nrf54h20dk/nrf54h20/cpuapp
3032
- thingy53/nrf5340/cpuapp
3133
- thingy53/nrf5340/cpuapp/ns
@@ -45,6 +47,7 @@ tests:
4547
- nrf54l15dk/nrf54l05/cpuapp
4648
- nrf54l15dk/nrf54l10/cpuapp
4749
- nrf54l15dk/nrf54l15/cpuapp
50+
- nrf54lm20dk/nrf54lm20a/cpuapp
4851
- nrf54h20dk/nrf54h20/cpuapp
4952
- thingy53/nrf5340/cpuapp
5053
- thingy53/nrf5340/cpuapp/ns
@@ -57,6 +60,7 @@ tests:
5760
- nrf54l15dk/nrf54l05/cpuapp
5861
- nrf54l15dk/nrf54l10/cpuapp
5962
- nrf54l15dk/nrf54l15/cpuapp
63+
- nrf54lm20dk/nrf54lm20a/cpuapp
6064
- nrf54h20dk/nrf54h20/cpuapp
6165
- thingy53/nrf5340/cpuapp
6266
- thingy53/nrf5340/cpuapp/ns
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-----BEGIN PRIVATE KEY-----
2+
MC4CAQAwBQYDK2VwBCIEINPMIcNzi1ZAvb28pkDDzd+MqGcH7FH8oiouDOcdJz/a
3+
-----END PRIVATE KEY-----
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
SB_CONFIG_BOOTLOADER_MCUBOOT=y
8+
SB_CONFIG_MCUBOOT_MODE_DIRECT_XIP=y
9+
SB_CONFIG_BOOT_SIGNATURE_TYPE_ED25519=y
10+
SB_CONFIG_BOOT_SIGNATURE_TYPE_PURE=y
11+
SB_CONFIG_BOOT_SIGNATURE_KEY_FILE="\${SB_APPLICATION_CONFIG_DIR}/boot_signature_key_file_ed25519.pem"
12+
13+
# Temporarily use the SW crypto in the MCUboot bootloader and the verification key storage
14+
# without KMU.
15+
SB_CONFIG_MCUBOOT_SIGNATURE_USING_KMU=n
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
CONFIG_BOOT_MAX_IMG_SECTORS=256
8+
9+
# Disable the unused SPI NOR driver that causes build failures due to missing DTS configuration.
10+
CONFIG_SPI_NOR=n
11+
12+
# Optimize memory usage (Locator tag disables system clock for MCUboot image).
13+
CONFIG_NRF_GRTC_TIMER=n
14+
CONFIG_NRF_GRTC_START_SYSCOUNTER=n
15+
16+
# The following features will be enabled once they are available
17+
# - HW memory protection with FPROTECT library
18+
# - Watchdog functionality
19+
CONFIG_FPROTECT=n
20+
CONFIG_BOOT_WATCHDOG_FEED=n
21+
22+
# Temporarily replace the HW crypto driver with SW driver until the HW driver is available.
23+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=n
24+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=y
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/* Application does not use cpuflpr core. Assign whole RRAM to cpuapp. */
8+
&cpuapp_rram {
9+
reg = < 0x0 DT_SIZE_K(2036) >;
10+
};

0 commit comments

Comments
 (0)