MCUXpresso_LPC55S69/middleware/tfm/tf-m-tests/middleware_tfm_ns_test_profile_small.cmake
Yilin Sun 6e8d03ec0a Updated to SDK v2.15.000
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-04-12 21:21:49 +08:00

23 lines
731 B
CMake

# Add set(CONFIG_USE_middleware_tfm_ns_test_profile_small true) in config.cmake to use this component
include_guard(GLOBAL)
message("${CMAKE_CURRENT_LIST_FILE} component is included.")
if(CONFIG_USE_middleware_tfm_ns_test_its AND CONFIG_USE_middleware_tfm_ns_test_attestation_symmetric AND CONFIG_USE_middleware_tfm_ns_test_crypto)
if(CONFIG_USE_COMPONENT_CONFIGURATION)
message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
-DTFM_CRYPTO_TEST_ALG_CCM
-DTFM_CRYPTO_TEST_UNSUPPORTED_ALG
)
endif()
else()
message(SEND_ERROR "middleware_tfm_ns_test_profile_small dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()