Skip to content

Commit 3d8c063

Browse files
committed
[stm32l5xx] adjust heap size to zero
1 parent c00faa2 commit 3d8c063

17 files changed

+17
-17
lines changed

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/arm/startup_stm32l552xx.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ __initial_sp
4040
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
4141
; </h>
4242

43-
Heap_Size EQU 0x00000200
43+
Heap_Size EQU 0x00000000
4444

4545
AREA HEAP, NOINIT, READWRITE, ALIGN=3
4646
__heap_base

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/arm/startup_stm32l562xx.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ __initial_sp
4040
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
4141
; </h>
4242

43-
Heap_Size EQU 0x00000200
43+
Heap_Size EQU 0x00000000
4444

4545
AREA HEAP, NOINIT, READWRITE, ALIGN=3
4646
__heap_base

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l552xc_flash.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_SRAM1_start__ = 0x20000000;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l552xc_flash_ns.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_SRAM1_start__ = 0x20018000;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l552xc_flash_s.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x30017FFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_ROM_NSC_start__ = 0x0C01E000;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l552xe_flash.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_SRAM1_start__ = 0x20000000;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l552xe_flash_ns.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_SRAM1_start__ = 0x20018000;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l552xe_flash_s.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x30017FFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_ROM_NSC_start__ = 0x0C03E000;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l552xx_sram.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define memory mem with size = 4G;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l552xx_sram_ns.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define memory mem with size = 4G;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l552xx_sram_s.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x30017EFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_ROM_NSC_start__ = 0;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l562xe_flash.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_SRAM1_start__ = 0x20000000;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l562xe_flash_ns.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_SRAM1_start__ = 0x20018000;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l562xe_flash_s.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x30017FFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_ROM_NSC_start__ = 0x0C03E000;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l562xx_sram.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define memory mem with size = 4G;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l562xx_sram_ns.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define memory mem with size = 4G;

bsp/stm32/libraries/STM32L5xx_HAL/CMSIS/Device/ST/STM32L5xx/Source/Templates/iar/linker/stm32l562xx_sram_s.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x30017EFF;
1111

1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = 0x400;
14-
define symbol __ICFEDIT_size_heap__ = 0x200;
14+
define symbol __ICFEDIT_size_heap__ = 0x000;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717
define symbol __region_ROM_NSC_start__ = 0;

0 commit comments

Comments
 (0)