Skip to content

Commit e04f6d0

Browse files
de-nordicfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent fd5df64 commit e04f6d0

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

tests/subsys/storage/flash_map/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.20.0)
44
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
55
project(flash_map)
66

7-
if(NOT CONFIG_FLASH_AREA_CHECK_INTEGRITY_PSA AND NOT CONFIG_FLASH_AREA_CHECK_INTEGRITY_MBEDTLS)
7+
if(NOT CONFIG_FLASH_AREA_CHECK_INTEGRITY)
88
FILE(GLOB app_sources src/main.c)
99
else()
1010
FILE(GLOB app_sources src/main_sha.c)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
CONFIG_FLASH_AREA_CHECK_INTEGRITY=y
12
CONFIG_FLASH_AREA_CHECK_INTEGRITY_MBEDTLS=y

tests/subsys/storage/flash_map/overlay-psa.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
CONFIG_FLASH_AREA_CHECK_INTEGRITY=y
12
CONFIG_FLASH_AREA_CHECK_INTEGRITY_PSA=y
23
CONFIG_MBEDTLS=y
34
CONFIG_MBEDTLS_PSA_CRYPTO_C=y

tests/subsys/storage/flash_map/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ CONFIG_ZTEST_STACK_SIZE=2048
33
CONFIG_FLASH=y
44
CONFIG_FLASH_PAGE_LAYOUT=y
55
CONFIG_FLASH_MAP=y
6-
CONFIG_FLASH_AREA_CHECK_INTEGRITY=y

0 commit comments

Comments
 (0)