mirror of
https://github.com/RT-Thread/rtthread-nano.git
synced 2026-02-06 03:31:40 +08:00
@@ -106,6 +106,7 @@
|
||||
// <i>Dynamic Heap Management
|
||||
#define RT_USING_HEAP
|
||||
#define RT_USING_SMALL_MEM
|
||||
#define RT_USING_SMALL_MEM_AS_HEAP
|
||||
// </c>
|
||||
// <c1>using tiny size of memory
|
||||
// <i>using tiny size of memory
|
||||
|
||||
@@ -106,6 +106,7 @@
|
||||
// <i>Dynamic Heap Management
|
||||
#define RT_USING_HEAP
|
||||
#define RT_USING_SMALL_MEM
|
||||
#define RT_USING_SMALL_MEM_AS_HEAP
|
||||
// </c>
|
||||
// <c1>using tiny size of memory
|
||||
// <i>using tiny size of memory
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user