Skip to content

Commit

Permalink
fix(CMSIS): Undefine CONFIG_TRUSTED_EXECUTION_SECURE for bare-metal (#…
Browse files Browse the repository at this point in the history
…1185)

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
  • Loading branch information
ozersa committed Sep 23, 2024
1 parent f931c56 commit 320ba66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/CMSIS/Device/Maxim/GCC/gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ PROJ_AFLAGS += -DIS_SECURE_ENVIRONMENT=1
PROJ_CFLAGS += -DIS_SECURE_ENVIRONMENT=1
else
# Align with Zephyr flags.
PROJ_AFLAGS += -DCONFIG_TRUSTED_EXECUTION_SECURE=0
PROJ_CFLAGS += -DCONFIG_TRUSTED_EXECUTION_SECURE=0
# Do not define CONFIG_TRUSTED_EXECUTION_SECURE
# not defining means 0

# Leaving these to support initial development.
PROJ_AFLAGS += -DIS_SECURE_ENVIRONMENT=0
Expand Down

0 comments on commit 320ba66

Please sign in to comment.