Skip to content

Commit 651b32d

Browse files
committed
arm cortex-m33 defaults to enabling ARCH_ARM_CORTEX_SECURE.
1 parent 15a771f commit 651b32d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

rt-thread/libcpu/arm/cortex-m33/cpuport.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,7 @@ rt_uint8_t *rt_hw_stack_init(void *tentry,
196196
* 0: Non-secure.
197197
* 1: Secure.
198198
*/
199-
#ifdef ARCH_ARM_CORTEX_SECURE
200199
stack_frame->lr = 0xfffffffdL;
201-
#else
202-
stack_frame->lr = 0xffffffbcL;
203-
#endif
204200
stack_frame->psplim = 0x00;
205201
/*
206202
* CONTROL register bit assignments

0 commit comments

Comments
 (0)