Fix memory sizes for Discovery L0
This commit is contained in:
parent
71a2fd2add
commit
e6cff10f83
|
@ -223,8 +223,8 @@ DISCOVERY_L053C8.name=Discovery L053C8 (upload: STLink)
|
|||
DISCOVERY_L053C8.vid.0=0x0483
|
||||
DISCOVERY_L053C8.pid.0=0x5711
|
||||
|
||||
DISCOVERY_L053C8.upload.maximum_size=524288
|
||||
DISCOVERY_L053C8.upload.maximum_data_size=131072
|
||||
DISCOVERY_L053C8.upload.maximum_size=65536
|
||||
DISCOVERY_L053C8.upload.maximum_data_size=8192
|
||||
|
||||
DISCOVERY_L053C8.build.core=arduino
|
||||
DISCOVERY_L053C8.build.board=DISCOVERY_L053C8
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
ENTRY(Reset_Handler)
|
||||
|
||||
/* Highest address of the user mode stack */
|
||||
_estack = 0x20001FFF; /* end of RAM */
|
||||
_estack = 0x20000000 + 8192; /* 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_Stack_Size = 0x400;; /* required amount of stack */
|
||||
|
@ -155,17 +155,6 @@ SECTIONS
|
|||
__bss_end__ = _ebss;
|
||||
} >RAM
|
||||
|
||||
/* User_heap_stack section, used to check that there is enough RAM left */
|
||||
._user_heap_stack :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
PROVIDE ( end = . );
|
||||
PROVIDE ( _end = . );
|
||||
. = . + _Min_Heap_Size;
|
||||
. = . + _Min_Stack_Size;
|
||||
. = ALIGN(4);
|
||||
} >RAM
|
||||
|
||||
PROVIDE ( _end = . );
|
||||
|
||||
/* Remove information from the standard libraries */
|
||||
|
|
Loading…
Reference in New Issue