boards: arm: mps2_an521: force secure firmware image by default
In order to increase code coverage, we force building a Secure Firmware image by default (i.e. with option CONFIG_TRUSTED_EXECUTION_SECURE set), when building for mps2_an521 board. CONFIG_TRUSTED_EXECUTION_SECURE enables compiling-in all TrustZone-related code in the tree, that is, all ARM-specific code inside #ifdef CONFIG_ARM_SECURE_FIRMWARE. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
a3ee56f9a1
commit
d075c91634
2 changed files with 4 additions and 0 deletions
|
@ -29,4 +29,7 @@ CONFIG_UART_CMSDK_APB=y
|
|||
# Watchdog
|
||||
CONFIG_WATCHDOG=y
|
||||
|
||||
# Build a Secure firmware image
|
||||
CONFIG_TRUSTED_EXECUTION_SECURE=y
|
||||
|
||||
CONFIG_I2C=y
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#endif
|
||||
|
||||
#include <soc_devices.h>
|
||||
#include <generated_dts_board.h>
|
||||
|
||||
extern void wakeup_cpu1(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue