mirror of https://github.com/ARMmbed/mbed-os.git
TARGET_Atmel: Set the heap size and limit
parent
8b02a60b94
commit
25bcedac38
|
@ -105,6 +105,7 @@ MEMORY {
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
__end__ = . ;
|
__end__ = . ;
|
||||||
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
||||||
|
__HeapLimit = .;
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
/* stack section */
|
/* stack section */
|
||||||
|
|
|
@ -105,6 +105,7 @@ MEMORY {
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
__end__ = . ;
|
__end__ = . ;
|
||||||
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
||||||
|
__HeapLimit = .;
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
/* stack section */
|
/* stack section */
|
||||||
|
|
|
@ -105,6 +105,7 @@ MEMORY {
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
__end__ = . ;
|
__end__ = . ;
|
||||||
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
||||||
|
__HeapLimit = .;
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
/* stack section */
|
/* stack section */
|
||||||
|
|
|
@ -105,6 +105,7 @@ MEMORY {
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
__end__ = . ;
|
__end__ = . ;
|
||||||
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
||||||
|
__HeapLimit = .;
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
/* stack section */
|
/* stack section */
|
||||||
|
|
|
@ -105,6 +105,7 @@ MEMORY {
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
__end__ = . ;
|
__end__ = . ;
|
||||||
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
|
||||||
|
__HeapLimit = .;
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
/* stack section */
|
/* stack section */
|
||||||
|
|
Loading…
Reference in New Issue