Skip to content

Commit b15d54f

Browse files
committed
Fixed IAR linker script.
1 parent ed9995e commit b15d54f

File tree

1 file changed

+3
-3
lines changed
  • targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CPROTO_064_SB/device/TARGET_MCU_PSOC6_M4/TOOLCHAIN_IAR

1 file changed

+3
-3
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CPROTO_064_SB/device/TARGET_MCU_PSOC6_M4/TOOLCHAIN_IAR/cyb06xx7_cm4_dual.icf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ define block RAM_BSS {readwrite section .bss};
181181
define block RAM with fixed order {block RAM_DATA, block RAM_OTHER, block RAM_NOINIT, block RAM_BSS};
182182

183183
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
184-
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
184+
define block HEAP with expanding size, alignment = 8, minimum size = __ICFEDIT_size_heap__ { };
185185

186186
define block RO {first section .intvec, readonly};
187187

@@ -191,8 +191,8 @@ do not initialize { section .noinit, section .intvec_ram };
191191

192192
/*-Placement-*/
193193

194-
/* Flash */
195-
place at start of IROM1_region { block RO };
194+
/* Flash - Cortex-M4 application image */
195+
place in IROM1_region { block RO };
196196
".cy_app_signature" : place at address (__ICFEDIT_region_IROM1_end__ - 0x200) { section .cy_app_signature };
197197

198198
/* Emulated EEPROM Flash area */

0 commit comments

Comments
 (0)