Skip to content

Commit 3f4d30d

Browse files
author
justinkim
committed
Fix Bug : IAR heap memory problem
1 parent 8b54856 commit 3f4d30d

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device/TOOLCHAIN_IAR/W7500_Flash.icf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
88
define symbol __ICFEDIT_region_ROM_end__ = 0x00020000;
99
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
1010
define symbol __ICFEDIT_region_RAM_end__ = 0x20004000;
11-
/*-Sizes-*/
12-
define symbol __ICFEDIT_size_cstack__ = 0x00000400;
13-
define symbol __ICFEDIT_size_heap__ = 0x00000400;
11+
/*-Heap 1/4 of ram and stack 1/8-*/
12+
define symbol __ICFEDIT_size_cstack__ = 0x00000800;
13+
define symbol __ICFEDIT_size_heap__ = 0x00001000;
1414
/**** End of ICF editor section. ###ICF###*/
1515

1616

@@ -28,4 +28,4 @@ place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
2828

2929
place in ROM_region { readonly };
3030
place in RAM_region { readwrite,
31-
block CSTACK, block HEAP };
31+
block CSTACK, block HEAP };

targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device/TOOLCHAIN_IAR/W7500_Flash.icf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
88
define symbol __ICFEDIT_region_ROM_end__ = 0x00020000;
99
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
1010
define symbol __ICFEDIT_region_RAM_end__ = 0x20004000;
11-
/*-Sizes-*/
12-
define symbol __ICFEDIT_size_cstack__ = 0x00000400;
13-
define symbol __ICFEDIT_size_heap__ = 0x00000400;
11+
/*-Heap 1/4 of ram and stack 1/8-*/
12+
define symbol __ICFEDIT_size_cstack__ = 0x00000800;
13+
define symbol __ICFEDIT_size_heap__ = 0x00001000;
1414
/**** End of ICF editor section. ###ICF###*/
1515

1616

@@ -28,4 +28,4 @@ place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
2828

2929
place in ROM_region { readonly };
3030
place in RAM_region { readwrite,
31-
block CSTACK, block HEAP };
31+
block CSTACK, block HEAP };

targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device/TOOLCHAIN_IAR/W7500_Flash.icf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
88
define symbol __ICFEDIT_region_ROM_end__ = 0x00020000;
99
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
1010
define symbol __ICFEDIT_region_RAM_end__ = 0x20004000;
11-
/*-Sizes-*/
12-
define symbol __ICFEDIT_size_cstack__ = 0x00000400;
13-
define symbol __ICFEDIT_size_heap__ = 0x00000400;
11+
/*-Heap 1/4 of ram and stack 1/8-*/
12+
define symbol __ICFEDIT_size_cstack__ = 0x00000800;
13+
define symbol __ICFEDIT_size_heap__ = 0x00001000;
1414
/**** End of ICF editor section. ###ICF###*/
1515

1616

@@ -28,4 +28,4 @@ place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
2828

2929
place in ROM_region { readonly };
3030
place in RAM_region { readwrite,
31-
block CSTACK, block HEAP };
31+
block CSTACK, block HEAP };

0 commit comments

Comments
 (0)