From 651b32d092b7530160a38f240a45abd7ce3455fc Mon Sep 17 00:00:00 2001 From: kurisaw <2053731441@qq.com> Date: Tue, 2 Sep 2025 10:13:22 +0800 Subject: [PATCH] arm cortex-m33 defaults to enabling ARCH_ARM_CORTEX_SECURE. --- rt-thread/libcpu/arm/cortex-m33/cpuport.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rt-thread/libcpu/arm/cortex-m33/cpuport.c b/rt-thread/libcpu/arm/cortex-m33/cpuport.c index 44e7c28..1252fce 100644 --- a/rt-thread/libcpu/arm/cortex-m33/cpuport.c +++ b/rt-thread/libcpu/arm/cortex-m33/cpuport.c @@ -196,11 +196,7 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, * 0: Non-secure. * 1: Secure. */ -#ifdef ARCH_ARM_CORTEX_SECURE stack_frame->lr = 0xfffffffdL; -#else - stack_frame->lr = 0xffffffbcL; -#endif stack_frame->psplim = 0x00; /* * CONTROL register bit assignments