We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15a771f commit 651b32dCopy full SHA for 651b32d
1 file changed
rt-thread/libcpu/arm/cortex-m33/cpuport.c
@@ -196,11 +196,7 @@ rt_uint8_t *rt_hw_stack_init(void *tentry,
196
* 0: Non-secure.
197
* 1: Secure.
198
*/
199
-#ifdef ARCH_ARM_CORTEX_SECURE
200
stack_frame->lr = 0xfffffffdL;
201
-#else
202
- stack_frame->lr = 0xffffffbcL;
203
-#endif
204
stack_frame->psplim = 0x00;
205
/*
206
* CONTROL register bit assignments
0 commit comments