Skip to content

Commit

Permalink
fix Link Script format
Browse files Browse the repository at this point in the history
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
  • Loading branch information
jh6186 authored and adbridge committed Feb 5, 2020
1 parent 9ea2ce9 commit 873fc43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ ENTRY(Reset_Handler)

/* Heap 1/4 of ram and stack 1/8 */
__stack_size__ = 0x0400;
__heap_size__ = 0x4000;

HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x0400;
STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;

/* Size of the vector table in SRAM */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (!isdefinedsymbol(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*/
define memory mem with size = 4G;
Expand All @@ -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 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 ZI { zi };

Expand Down

0 comments on commit 873fc43

Please sign in to comment.