Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions rt-thread/bsp/_template/cubemx_config/rtconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions rt-thread/bsp/_template/rtconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions rt-thread/libcpu/arm/cortex-m33/cpuport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down