预声明的堆栈
_Min_Heap_Size = 0x200; /* required amount of heap: 512 bytes */
_Min_Stack_Size = 0x400; /* required amount of stack: 1024 bytes */
...
/* User_heap_stack section, used to check that there is enough RAM left */
._user_heap_stack :
{
. = ALIGN(8);
PROVIDE ( end = . );
PROVIDE ( _end = . );
. = . + _Min_Heap_Size;
. = . + _Min_Stack_Size;
. = ALIGN(8);
} >RAM
|