arm cortex-m33 defaults to enabling ARCH_ARM_CORTEX_SECURE.

This commit is contained in:
kurisaw
2025-09-02 10:13:22 +08:00
parent 15a771f134
commit 651b32d092
@@ -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