Skip to content

Commit

Permalink
default config trusted secure to 0 if secure not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
EricB-ADI committed Sep 26, 2024
1 parent 0a0614f commit b154c85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Libraries/CMSIS/Device/Maxim/GCC/gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ PROJ_CFLAGS += -DCONFIG_TRUSTED_EXECUTION_SECURE=1
PROJ_AFLAGS += -DIS_SECURE_ENVIRONMENT=1
PROJ_CFLAGS += -DIS_SECURE_ENVIRONMENT=1
else
PROJ_AFLAGS += -DCONFIG_TRUSTED_EXECUTION_SECURE=0
PROJ_CFLAGS += -DCONFIG_TRUSTED_EXECUTION_SECURE=0
# Align with Zephyr flags.
# Do not define CONFIG_TRUSTED_EXECUTION_SECURE
# not defining means 0
Expand Down Expand Up @@ -793,4 +795,3 @@ ifneq "$(QUERY_VAR)" ""
else
$(MAKE) debug
endif

0 comments on commit b154c85

Please sign in to comment.