Skip to content

Commit

Permalink
samples: bluetooth: hids: Enable TF-M profile small for /ns target
Browse files Browse the repository at this point in the history
Enabled the CONFIG_TFM_PROFILE_TYPE_SMALL for the
nrf5340dk/nrf5340/cpuapp/ns as it is required for the Bluetooth
stack to work properly as it now uses the PSA crypto API.

Jira: NCSDK-31777

Signed-off-by: Mateusz Kapala <mateusz.kapala@nordicsemi.no>
  • Loading branch information
mkapala-nordic committed Feb 20, 2025
1 parent 4cae173 commit 41f7097
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,15 @@ Bluetooth samples
* :ref:`bluetooth_central_hids`
* :ref:`peripheral_hids_keyboard`

* Updated the non-secure target ``nrf5340dk/nrf5340/cpuapp/ns`` configurations of the following samples to properly configure the TF-M profile instead of using the predefined minimal TF-M profile:

* :ref:`bluetooth_central_hids`
* :ref:`peripheral_hids_keyboard`
* :ref:`peripheral_hids_mouse`

This change results from the Bluetooth subsystem transition to the PSA cryptographic standard.
The Bluetooth stack can now use the PSA crypto API in the non-secure domain as all necessary TF-M partitions are configured properly.

* :ref:`direct_test_mode` sample:

* Added loading of radio trims and a fix of a hardware errata for the nRF54H20 SoC to improve the RF performance.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# TF-M profile has to be properly configured to be able to run
# the Bluetooth stack which uses PSA crypto API as minimal TF-M
# profile cannot be used.
CONFIG_TFM_PROFILE_TYPE_SMALL=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# TF-M profile has to be properly configured to be able to run
# the Bluetooth stack which uses PSA crypto API as minimal TF-M
# profile cannot be used.
CONFIG_TFM_PROFILE_TYPE_SMALL=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# TF-M profile has to be properly configured to be able to run
# the Bluetooth stack which uses PSA crypto API as minimal TF-M
# profile cannot be used.
CONFIG_TFM_PROFILE_TYPE_SMALL=y

0 comments on commit 41f7097

Please sign in to comment.