Commit c620646e authored by Jamie McCrae's avatar Jamie McCrae Committed by Anas Nashif
Browse files

boards: arm: Select TF-M symbols via Kconfig instead of defconfig



This forces a build to fail should it select a symbol that cannot
be selected (if the prerequisites cannot be met) instead of
silently ignoring it and allowing an invalid build to complete

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent afa90796
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,3 +5,4 @@
config BOARD_MPS2
	select HAS_COVERAGE_SUPPORT
	select QEMU_TARGET if BOARD_MPS2_AN385 || BOARD_MPS2_AN521_CPU0 || BOARD_MPS2_AN521_CPU0_NS || BOARD_MPS2_AN521_CPU1
	select TRUSTED_EXECUTION_NONSECURE if BOARD_MPS2_AN521_CPU0_NS
+0 −3
Original line number Diff line number Diff line
@@ -16,6 +16,3 @@ CONFIG_GPIO=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y

# Build a non-secure firmware image
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
+4 −0
Original line number Diff line number Diff line
@@ -4,3 +4,7 @@

config BOARD_MPS3
	select QEMU_TARGET if BOARD_MPS3_CORSTONE300_AN547 || BOARD_MPS3_CORSTONE300_AN547_NS
	select TRUSTED_EXECUTION_NONSECURE if BOARD_MPS3_CORSTONE300_AN547_NS || \
		BOARD_MPS3_CORSTONE300_AN552_NS || BOARD_MPS3_CORSTONE300_FVP_NS || \
		BOARD_MPS3_CORSTONE310_AN555_NS || BOARD_MPS3_CORSTONE310_FVP_NS
	select BUILD_WITH_TFM if BOARD_MPS3_CORSTONE310_FVP_NS || BOARD_MPS3_CORSTONE300_FVP_NS
+0 −4
Original line number Diff line number Diff line
@@ -17,7 +17,3 @@ CONFIG_GPIO=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y

# Build a Non-secure firmware image
CONFIG_TRUSTED_EXECUTION_SECURE=n
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
+0 −4
Original line number Diff line number Diff line
@@ -12,7 +12,3 @@ CONFIG_GPIO=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y

# Build a Non-secure firmware image
CONFIG_TRUSTED_EXECUTION_SECURE=n
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
Loading