mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-01-30 03:33:13 +01:00
system.ld: Add 64KB heap.
This commit is contained in:
@@ -57,8 +57,12 @@ SECTIONS
|
||||
_end_bss = .;
|
||||
__bss_end__ = . ;
|
||||
|
||||
. = ALIGN(256);
|
||||
. = ALIGN(8);
|
||||
heap_low = .; /* for _sbrk */
|
||||
. = . + 0x10000; /* 64kB of heap memory */
|
||||
heap_top = .; /* for _sbrk */
|
||||
|
||||
. = ALIGN(256);
|
||||
|
||||
.stack : {
|
||||
__stack_start__ = . ;
|
||||
@@ -83,12 +87,10 @@ SECTIONS
|
||||
__stack_end__ = .;
|
||||
} >sram
|
||||
|
||||
|
||||
/*DISCARD :
|
||||
{
|
||||
*(.eh_*)
|
||||
}*/
|
||||
}
|
||||
|
||||
_end = .;
|
||||
PROVIDE(end = .);
|
||||
PROVIDE(end = .);
|
||||
|
||||
Reference in New Issue
Block a user