[feat] update stach description in ld
This commit is contained in:
parent
0d6c458f31
commit
e1aff431c0
@ -1,15 +1,16 @@
|
||||
ENTRY(Reset_Handler)
|
||||
|
||||
StackSize = 0x4000; /* 16KB */
|
||||
|
||||
MEMORY
|
||||
{
|
||||
/*FLASH (rx) :ORIGIN = 0x08000000, LENGTH = 128K*/
|
||||
/*ITCM (xrw) :ORIGIN = 0x00000000, LENGTH = 64K*/
|
||||
FLASH (xr) :ORIGIN = 0x00000000, LENGTH = 64K
|
||||
DTCM (xrw) :ORIGIN = 0x20000000, LENGTH = 112K
|
||||
STACK (rw) :ORIGIN = 0x2001C000, LENGTH = 16K
|
||||
DTCM (xrw) :ORIGIN = 0x20000000, LENGTH = 128K - StackSize
|
||||
}
|
||||
|
||||
_stack_top = ORIGIN(STACK) + LENGTH(STACK);
|
||||
_stack_top = ORIGIN(DTCM) + LENGTH(DTCM) + StackSize;
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user