Skip to content

Commit d8dca5b

Browse files
jh6186andrewc-arm
authored andcommitted
fix Link Script format
Signed-off-by: PARKJIHOON <[email protected]>
1 parent 2e0ff5d commit d8dca5b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

targets/TARGET_Samsung/TARGET_SIDK_S5JS100/device/TOOLCHAIN_GCC_ARM/sidk_s5js100.ld

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ ENTRY(Reset_Handler)
7575

7676
/* Heap 1/4 of ram and stack 1/8 */
7777
__stack_size__ = 0x0400;
78-
__heap_size__ = 0x4000;
7978

80-
HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x0400;
8179
STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;
8280

8381
/* Size of the vector table in SRAM */

targets/TARGET_Samsung/TARGET_SIDK_S5JS100/device/TOOLCHAIN_IAR/sidk_s5js100.icf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
3333
}
3434

3535
define symbol CSTACK_SIZE = MBED_BOOT_STACK_SIZE;
36-
define symbol HEAP_SIZE = 0x50000;
36+
define symbol __ICFEDIT_size_heap__ = 0x50000;
3737

3838
/*Meory regions*/
3939
define memory mem with size = 4G;
@@ -42,7 +42,7 @@ define region ROM_REGION = mem:[from S5JS100_CODE_BASE to S5JS100_CODE_END];
4242
define region IRAM_REGION = mem:[from S5JS100_IRAM_BASE to S5JS100_IRAM_END];
4343

4444
define block CSTACK with alignment = 8, size = CSTACK_SIZE { };
45-
define block HEAP with alignment = 8, size = HEAP_SIZE { };
45+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
4646
define block RW { readwrite };
4747
define block ZI { zi };
4848

0 commit comments

Comments
 (0)