Skip to content

Commit 388fc34

Browse files
magnevrlubos
authored andcommitted
samples: crypto: psa_tls: Add nrf54l15-ns support
Add support for nrf54l15pdk/nrf54l15/cpuapp/ns for psa_tls sample. Signed-off-by: Magne Værnes <[email protected]>
1 parent aefb645 commit 388fc34

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
7+
CONFIG_NRF_ENABLE_ICACHE=n
8+
CONFIG_MBEDTLS_USE_PSA_CRYPTO=y
9+
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
10+
11+
# The ECDSA CA certificate is stored persistently with Protected Storage,
12+
# which internally uses Internal Trusted Storage. Since ITS encryption is
13+
# enabled by default for nRF54L20, the sample must be configured with a
14+
# larger ITS asset size than the default 500 bytes. This is because
15+
# encrypted ITS assets must be stored in a single chunk.
16+
CONFIG_TFM_ITS_MAX_ASSET_SIZE_OVERRIDE=y
17+
CONFIG_TFM_ITS_MAX_ASSET_SIZE=600

samples/crypto/psa_tls/sample.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,21 @@ tests:
113113
extra_args: >
114114
OVERLAY_CONFIG="overlays/server.conf;overlays/ecdsa.conf;overlays/cracen-psa.conf"
115115
platform_allow: >
116-
nrf54l15pdk/nrf54l15/cpuapp
116+
nrf54l15pdk/nrf54l15/cpuapp nrf54l15pdk/nrf54l15/cpuapp/ns
117117
integration_platforms:
118118
- nrf54l15pdk/nrf54l15/cpuapp
119+
- nrf54l15pdk/nrf54l15/cpuapp/ns
119120
tags: ci_build cracen sysbuild ci_samples_crypto
120121
sample.psa_tls.client.ecdsa.cracen:
121122
sysbuild: true
122123
build_only: true
123124
extra_args: >
124125
OVERLAY_CONFIG="overlays/client.conf;overlays/ecdsa.conf;overlays/cracen-psa.conf"
125126
platform_allow: >
126-
nrf54l15pdk/nrf54l15/cpuapp
127+
nrf54l15pdk/nrf54l15/cpuapp nrf54l15pdk/nrf54l15/cpuapp/ns
127128
integration_platforms:
128129
- nrf54l15pdk/nrf54l15/cpuapp
130+
- nrf54l15pdk/nrf54l15/cpuapp/ns
129131
tags: ci_build cracen sysbuild ci_samples_crypto
130132
################################################################################
131133
## Legacy APIs with Cryptocell (secure-only)

0 commit comments

Comments
 (0)