From 320ba66eacd5ecf6723df17b3127491fde4c0b08 Mon Sep 17 00:00:00 2001 From: Sadik Ozer <46590392+ozersa@users.noreply.github.com> Date: Mon, 23 Sep 2024 20:43:00 +0300 Subject: [PATCH] fix(CMSIS): Undefine CONFIG_TRUSTED_EXECUTION_SECURE for bare-metal (#1185) Signed-off-by: Sadik Ozer --- Libraries/CMSIS/Device/Maxim/GCC/gcc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/CMSIS/Device/Maxim/GCC/gcc.mk b/Libraries/CMSIS/Device/Maxim/GCC/gcc.mk index 432edae4e8..1bb8093c69 100644 --- a/Libraries/CMSIS/Device/Maxim/GCC/gcc.mk +++ b/Libraries/CMSIS/Device/Maxim/GCC/gcc.mk @@ -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