Skip to content

Commit cbd73b1

Browse files
degjorvanordicjm
authored andcommitted
samples: tfm: add support for nRF54LM20A/ns to tfm samples
Add support for nRF54LM20A/ns tfm_hello_world and tfm_secure_peripheral. Also update incorrect pin masks on 54L devices. Signed-off-by: Dag Erik Gjørvad <[email protected]>
1 parent a8390df commit cbd73b1

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

doc/nrf/includes/sample_board_rows.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@
283283

284284
| :ref:`nRF54LM20 DK <ug_nrf54l>` | PCA10184 | :zephyr:board:`nrf54lm20dk <nrf54lm20dk>` | ``nrf54lm20dk/nrf54lm20a/cpuapp`` |
285285

286+
.. nrf54lm20dk_nrf54lm20a_cpuapp_ns
287+
288+
| :ref:`nRF54LM20 DK <ug_nrf54l>` | PCA10184 | :zephyr:board:`nrf54lm20dk <nrf54lm20dk>` | ``nrf54lm20dk/nrf54lm20a/cpuapp/ns`` |
289+
286290
.. nrf54lm20dk_nrf54lm20a_cpuflpr
287291

288292
| :ref:`nRF54LM20 DK <ug_nrf54l>` | PCA10184 | :zephyr:board:`nrf54lm20dk <nrf54lm20dk>` | ``nrf54lm20dk/nrf54lm20a/cpuflpr`` |

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,11 @@ Trusted Firmware-M (TF-M) samples
620620
* :ref:`tfm_hello_world` sample:
621621

622622
* Added support for the ``nrf54lv10dk/nrf54lv10a/cpuapp/ns`` board target.
623+
* Added support for the ``nrf54lm20dk/nrf54lm20a/cpuapp/ns`` board target.
624+
625+
* :ref:`tfm_secure_peripheral_partition`
626+
627+
* Added support for the ``nrf54lm20dk/nrf54lm20a/cpuapp/ns`` board target.
623628

624629
Thread samples
625630
--------------

samples/tfm/tfm_hello_world/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ tests:
3030
platform_allow:
3131
- nrf54l15dk/nrf54l15/cpuapp/ns
3232
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
33+
- nrf54lm20dk/nrf54lm20a/cpuapp/ns
3334
integration_platforms:
3435
- nrf54l15dk/nrf54l15/cpuapp/ns
3536
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
37+
- nrf54lm20dk/nrf54lm20a/cpuapp/ns
3638
sample.tfm.hello_world.bootloaders:
3739
sysbuild: true
3840
tags:
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# P1: 11 (SPIM21_MOSI), 12 (SPIM21_SCK), 26 (button0)
8+
CONFIG_NRF_GPIO1_PIN_MASK_SECURE=0x04001800
9+
10+
CONFIG_NRF_TIMER10_SECURE=y
11+
CONFIG_NRF_SPIM21_SECURE=y
12+
CONFIG_NRF_GPIOTE20_SECURE=y
13+
CONFIG_NRF_GPIOTE20_SECURE_CHANNELS_MASK=0x2

samples/tfm/tfm_secure_peripheral/boards/nrf54lv10dk_nrf54lv10a_cpuapp_ns.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66

77
# P1: 5 (SPIM_MOSI), 6 (SPIM_SCK) 15 (button0)
8-
CONFIG_NRF_GPIO1_PIN_MASK_SECURE=0x00002060
8+
CONFIG_NRF_GPIO1_PIN_MASK_SECURE=0x00008060
99

1010
CONFIG_NRF_TIMER10_SECURE=y
1111
CONFIG_NRF_SPIM21_SECURE=y

0 commit comments

Comments
 (0)