Skip to content

Commit b71f340

Browse files
authored
Merge pull request #7921 from Wiznet/master
Fix Bug : IAR heap memory problem
2 parents f3af826 + 251ab01 commit b71f340

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

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

Lines changed: 3 additions & 3 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-*/
11+
/*-Heap 1/4 of ram and stack 1/8-*/
1212
define symbol __ICFEDIT_size_cstack__ = 0x00000400;
13-
define symbol __ICFEDIT_size_heap__ = 0x00000400;
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: 3 additions & 3 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-*/
11+
/*-Heap 1/4 of ram and stack 1/8-*/
1212
define symbol __ICFEDIT_size_cstack__ = 0x00000400;
13-
define symbol __ICFEDIT_size_heap__ = 0x00000400;
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: 3 additions & 3 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-*/
11+
/*-Heap 1/4 of ram and stack 1/8-*/
1212
define symbol __ICFEDIT_size_cstack__ = 0x00000400;
13-
define symbol __ICFEDIT_size_heap__ = 0x00000400;
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)