Skip to content

Conversation

@travis3630
Copy link
Contributor

Add support for nrf7120pdk_nrf7120_cpuapp to all samples support nrf7120

@NordicBuilder NordicBuilder added doc-required PR must not be merged without tech writer approval. changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Oct 31, 2025
.. table-from-rows:: /includes/sample_board_rows.txt
:header: heading
:rows: nrf54l15dk_nrf54l05_cpuapp, nrf54l15dk_nrf54l10_cpuapp, nrf54l15dk_nrf54l15_cpuapp, nrf54l15dk_nrf54l15_cpuapp_ns, nrf54lm20dk_nrf54lm20a_cpuapp, nrf54lv10dk_nrf54lv10a_cpuapp
:rows: nrf54l15dk_nrf54l05_cpuapp, nrf54l15dk_nrf54l10_cpuapp, nrf54l15dk_nrf54l15_cpuapp, nrf54l15dk_nrf54l15_cpuapp_ns, nrf54lm20dk_nrf54lm20a_cpuapp, nrf54lv10dk_nrf54lv10a_cpuapp, nrf7120pdk_nrf7120p_cpuapp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well the naming of the sample was correct for two weeks at least. That is something

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I don't get what that means. Do you mean this sample name is kmu_sage_nrf54l but included nrf7120 should be some new name or?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. Please rename the sample and any reference to it being 54L only. cc @AntonZma

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Oct 31, 2025

CI Information

To view the history of this post, click the 'edited' button above
Build number: 3

Inputs:

Sources:

sdk-nrf: PR head: f532d63e92ca85ca9f7b3dc3926cb9060be53a75

more details

sdk-nrf:

PR head: f532d63e92ca85ca9f7b3dc3926cb9060be53a75
merge base: 36da4576a816545f77219f783d06a0e2d164888a
target head (main): ac58534521844f00ba3f70f8514d2d20b6a7277d
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (38)
boards
│  ├── nordic
│  │  ├── nrf7120pdk
│  │  │  │ nrf7120pdk_nrf7120_cpuapp_defconfig
samples
│  ├── crypto
│  │  ├── aes_cbc
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── aes_ccm
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── aes_ctr
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── aes_gcm
│  │  │  │ sample.yaml
│  │  ├── chachapoly
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── ecdh
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── ecdsa
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── ecjpake
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── eddsa
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── hkdf
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── hmac
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── kmu_usage_nrf54l
│  │  │  ├── README.rst
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── pbkdf2
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── persistent_key_usage
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── rng
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── rsa
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── sha256
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
│  │  ├── spake2p
│  │  │  ├── boards
│  │  │  │  │ nrf7120pdk_nrf7120_cpuapp.conf
│  │  │  │ sample.yaml
tests
│  ├── psa_crypto
│  │  │ testcase.yaml

Outputs:

Toolchain

Version: cfa6b06338
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:cfa6b06338_e595b21c39

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 904
  • ✅ Integration tests
    • ✅ test-fw-nrfconnect-nrf_crypto
    • ✅ test-secdom-samples-public
Disabled integration tests
    • test-fw-nrfconnect-nrf_lrcs_positioning
    • desktop52_verification
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-ps-main
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread-main
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-wifi

Note: This message is automatically posted and updated by the CI

@travis3630 travis3630 force-pushed the WZN-5115-add-CRACEN-crypto-sample-tests branch from 435b87b to 6f04b65 Compare October 31, 2025 15:39
@NordicBuilder NordicBuilder requested a review from a team October 31, 2025 15:40
@github-actions
Copy link

You can find the documentation preview for this PR here.

Preview links for modified nRF Connect SDK documents:

https://ncsdoc.z6.web.core.windows.net/PR-25357/nrf/samples/crypto/kmu_usage_nrf54l/README.html

Copy link
Contributor

@tomi-font tomi-font left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release notes entry?

Copy link
Contributor

@greg-fer greg-fer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also add a changelog entry for the sample mentioning added support for a new device.

:rows: nrf54l15dk_nrf54l05_cpuapp, nrf54l15dk_nrf54l10_cpuapp, nrf54l15dk_nrf54l15_cpuapp, nrf54l15dk_nrf54l15_cpuapp_ns, nrf54lm20dk_nrf54lm20a_cpuapp, nrf54lv10dk_nrf54lv10a_cpuapp, nrf7120pdk_nrf7120_cpuapp

.. include:: /includes/tfm.txt

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to edits to this README, you also need to update the following docs in time for the launch of nRF7120:

Can you please sync with your team's tech writer and create a task for this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WZN-7049 has been created for this.

Add support for nrf7120pdk_nrf7120_cpuapp to all samples
support nrf7120

Signed-off-by: Travis Lam <[email protected]>
@travis3630 travis3630 force-pushed the WZN-5115-add-CRACEN-crypto-sample-tests branch from 6f04b65 to f532d63 Compare November 3, 2025 16:12
@NordicBuilder NordicBuilder requested review from a team November 3, 2025 16:12
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l10/cpuapp/ns
- nrf54l15dk/nrf54l05/cpuapp
- nrf7120pdk/nrf7120/cpuapp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name in line 6 of this file needs to be updated, given your added support for nRF7120.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I need to update the name of the folder? to kmu_usage remove nrf54l only?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't use kmu_usage, as 5340 is not supported. You will need a generic name for 54l + 71

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

54l + 71 == 125l

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jokes apart, if we need a name to distinguish from 5340 let's maybe go with lumos?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is what we use for the upstream Kconfig so it would make sense. I also think kmu_usage_everything_except_5340 rolls off the tongue well

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or kmu_usage_for_the_newer_kmu_peripheral?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kmu_usage_^nrf(54|71)[a-z]*\d+[a-z]*$ simple and easy to understand

nrfutil device erase --all
#. :ref:`Program <programming>` the sample to your nRF54L Series device.
#. :ref:`Program <programming>` the sample to your nRF54L Series and nRF7120 device.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#. :ref:`Program <programming>` the sample to your nRF54L Series and nRF7120 device.
#. :ref:`Program <programming>` the sample to your nRF54L Series or nRF7120 device.

Sorry, my mistake from first suggestion :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even need to specify the device here? Can't we just say "to your device"?

Copy link
Contributor

@tomi-font tomi-font left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you also planning to add 7120 NS?

:depth: 2

The KMU usage sample demonstrates how to generate cryptographic keys for nRF54L Series devices and securely store them in the Key Management Unit (KMU).
The KMU usage sample demonstrates how to generate cryptographic keys for nRF54L Series devices and nRF7120 and securely store them in the Key Management Unit (KMU).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Phrasing seems a bit awkward, maybe rework the structure?

Suggested change
The KMU usage sample demonstrates how to generate cryptographic keys for nRF54L Series devices and nRF7120 and securely store them in the Key Management Unit (KMU).
The KMU usage sample demonstrates how to generate cryptographic keys and securely store them in the Key Management Unit (KMU) on nRF54L Series and nRF7120 devices.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7120 NS maybe in the next PR, to reduce the complexity of this PR?

nrfutil device erase --all
#. :ref:`Program <programming>` the sample to your nRF54L Series device.
#. :ref:`Program <programming>` the sample to your nRF54L Series and nRF7120 device.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even need to specify the device here? Can't we just say "to your device"?

- ".*Example finished successfully!.*"

tests:
sample.kmu_usage_nrf54l:
Copy link
Contributor

@tomi-font tomi-font Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here too needs renaming

Copy link
Contributor

@ioannisg ioannisg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls ignore my comments :)

CONFIG_NRF_GRTC_START_SYSCOUNTER=y

# Temporarily disable whilst resolving issue with CI
CONFIG_CRACEN_LIB_KMU=n
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:rows: nrf54l15dk_nrf54l05_cpuapp, nrf54l15dk_nrf54l10_cpuapp, nrf54l15dk_nrf54l15_cpuapp, nrf54l15dk_nrf54l15_cpuapp_ns, nrf54lm20dk_nrf54lm20a_cpuapp, nrf54lv10dk_nrf54lv10a_cpuapp, nrf7120pdk_nrf7120_cpuapp

.. include:: /includes/tfm.txt

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WZN-7049 has been created for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants