tfm: Update TF-M regression tests sample to build NS app
Update the TF-M regression tests sample to build the NS app in the tf-m-tests repository as an external project. The regression tests need to provide test configurations to both TF-M an NS app. Duplicate configuration done in the spe/CMakeLists.txt to configure TF-M image for the regression tests. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no> Signed-off-by: Markus Swarowsky <markus.swarowsky@nordicsemi.no>
This commit is contained in:
parent
f49cbf13ca
commit
f48467a2a6
2 changed files with 50 additions and 0 deletions
|
@ -40,9 +40,11 @@ if (CONFIG_BUILD_WITH_TFM)
|
|||
endif()
|
||||
if (CONFIG_TFM_REGRESSION_S)
|
||||
list(APPEND TFM_CMAKE_ARGS -DTEST_S=ON)
|
||||
list(APPEND TFM_CMAKE_ARGS -DTFM_S_REG_TEST:BOOL=ON)
|
||||
endif()
|
||||
if (CONFIG_TFM_REGRESSION_NS)
|
||||
list(APPEND TFM_CMAKE_ARGS -DTEST_NS=ON)
|
||||
list(APPEND TFM_CMAKE_ARGS -DTFM_NS_REG_TEST:BOOL=ON)
|
||||
endif()
|
||||
if (CONFIG_TFM_BL2)
|
||||
list(APPEND TFM_CMAKE_ARGS -DBL2=TRUE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue