Skip to content

Commit

Permalink
tfm: Propagate PSA_CRYPTO_DRIVER_TFM_BUILTIN_KEY_LOADER
Browse files Browse the repository at this point in the history
-Fixes issues booting TF-M

Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
  • Loading branch information
frkv committed Sep 27, 2024
1 parent cea6492 commit e06e583
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/trusted-firmware-m/tfm_boards/external_core.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ if(TARGET psa_crypto_library_config)
${OBERON_PSA_CORE_PATH}/include
${NRF_DIR}/include/tfm
)

target_compile_definitions(psa_crypto_library_config
INTERFACE
MBEDTLS_PSA_CRYPTO_DRIVERS
$<$<BOOL:${CRYPTO_TFM_BUILTIN_KEYS_DRIVER}>:MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS PSA_CRYPTO_DRIVER_TFM_BUILTIN_KEY>
)
endif()

if(TARGET tfm_psa_rot_partition_crypto)
Expand Down

0 comments on commit e06e583

Please sign in to comment.