Skip to content

Commit

Permalink
fix(CMSIS): Default Secure mode to zero when security mode not specif…
Browse files Browse the repository at this point in the history
…ied (#1195)

Co-authored-by: Sihyung Woo <[email protected]>
  • Loading branch information
EricB-ADI and sihyung-maxim authored Sep 26, 2024
1 parent 7a56c0e commit 4595d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Libraries/CMSIS/Device/Maxim/GCC/gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,9 @@ PROJ_AFLAGS += -DIS_SECURE_ENVIRONMENT=1
PROJ_CFLAGS += -DIS_SECURE_ENVIRONMENT=1
else
# Align with Zephyr flags.
# Do not define CONFIG_TRUSTED_EXECUTION_SECURE
# not defining means 0
# Must be defined for the BLE build system.
PROJ_AFLAGS += -DCONFIG_TRUSTED_EXECUTION_SECURE=0
PROJ_CFLAGS += -DCONFIG_TRUSTED_EXECUTION_SECURE=0

# Leaving these to support initial development.
PROJ_AFLAGS += -DIS_SECURE_ENVIRONMENT=0
Expand Down Expand Up @@ -794,4 +795,3 @@ ifneq "$(QUERY_VAR)" ""
else
$(MAKE) debug
endif

0 comments on commit 4595d13

Please sign in to comment.