tests: flash_map: Fix tests configurations
Kconfig that enables integrity check has been moved to test configurations that test it. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
parent
fd5df64454
commit
e04f6d0e84
4 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.20.0)
|
|||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(flash_map)
|
||||
|
||||
if(NOT CONFIG_FLASH_AREA_CHECK_INTEGRITY_PSA AND NOT CONFIG_FLASH_AREA_CHECK_INTEGRITY_MBEDTLS)
|
||||
if(NOT CONFIG_FLASH_AREA_CHECK_INTEGRITY)
|
||||
FILE(GLOB app_sources src/main.c)
|
||||
else()
|
||||
FILE(GLOB app_sources src/main_sha.c)
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
CONFIG_FLASH_AREA_CHECK_INTEGRITY=y
|
||||
CONFIG_FLASH_AREA_CHECK_INTEGRITY_MBEDTLS=y
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
CONFIG_FLASH_AREA_CHECK_INTEGRITY=y
|
||||
CONFIG_FLASH_AREA_CHECK_INTEGRITY_PSA=y
|
||||
CONFIG_MBEDTLS=y
|
||||
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
|
||||
|
|
|
@ -3,4 +3,3 @@ CONFIG_ZTEST_STACK_SIZE=2048
|
|||
CONFIG_FLASH=y
|
||||
CONFIG_FLASH_PAGE_LAYOUT=y
|
||||
CONFIG_FLASH_MAP=y
|
||||
CONFIG_FLASH_AREA_CHECK_INTEGRITY=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue