gcc和mdk都能编译成功
This commit is contained in:
@@ -55,14 +55,14 @@ ENTRY(Reset_Handler)
|
||||
/* Highest address of the user mode stack */
|
||||
_estack = ORIGIN(RAM) + LENGTH(RAM); /* end of RAM */
|
||||
/* Generate a link error if heap and stack don't fit into RAM */
|
||||
_Min_Heap_Size = 0x200; /* required amount of heap */
|
||||
_Min_Heap_Size = 0x000; /* required amount of heap */
|
||||
_Min_Stack_Size = 0x400; /* required amount of stack */
|
||||
|
||||
/* Specify the memory areas */
|
||||
MEMORY
|
||||
{
|
||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 48K
|
||||
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 256K
|
||||
RAM (xrw) : ORIGIN = 0x20000020, LENGTH = 0xbfe0
|
||||
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 16K
|
||||
}
|
||||
|
||||
/* Define output sections */
|
||||
|
Reference in New Issue
Block a user