mirror of https://github.com/ARMmbed/mbed-os.git
fix Link Script format
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>pull/12106/head
parent
2e0ff5d145
commit
d8dca5b4ab
|
@ -75,9 +75,7 @@ ENTRY(Reset_Handler)
|
||||||
|
|
||||||
/* Heap 1/4 of ram and stack 1/8 */
|
/* Heap 1/4 of ram and stack 1/8 */
|
||||||
__stack_size__ = 0x0400;
|
__stack_size__ = 0x0400;
|
||||||
__heap_size__ = 0x4000;
|
|
||||||
|
|
||||||
HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x0400;
|
|
||||||
STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;
|
STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;
|
||||||
|
|
||||||
/* Size of the vector table in SRAM */
|
/* Size of the vector table in SRAM */
|
||||||
|
|
|
@ -33,7 +33,7 @@ if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
define symbol CSTACK_SIZE = MBED_BOOT_STACK_SIZE;
|
define symbol CSTACK_SIZE = MBED_BOOT_STACK_SIZE;
|
||||||
define symbol HEAP_SIZE = 0x50000;
|
define symbol __ICFEDIT_size_heap__ = 0x50000;
|
||||||
|
|
||||||
/*Meory regions*/
|
/*Meory regions*/
|
||||||
define memory mem with size = 4G;
|
define memory mem with size = 4G;
|
||||||
|
@ -42,7 +42,7 @@ define region ROM_REGION = mem:[from S5JS100_CODE_BASE to S5JS100_CODE_END];
|
||||||
define region IRAM_REGION = mem:[from S5JS100_IRAM_BASE to S5JS100_IRAM_END];
|
define region IRAM_REGION = mem:[from S5JS100_IRAM_BASE to S5JS100_IRAM_END];
|
||||||
|
|
||||||
define block CSTACK with alignment = 8, size = CSTACK_SIZE { };
|
define block CSTACK with alignment = 8, size = CSTACK_SIZE { };
|
||||||
define block HEAP with alignment = 8, size = HEAP_SIZE { };
|
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
|
||||||
define block RW { readwrite };
|
define block RW { readwrite };
|
||||||
define block ZI { zi };
|
define block ZI { zi };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue