Skip to content

Commit 7b4f4fc

Browse files
committed
Merge pull request #1715 from helmut64/L4heapsize
Changed the heap size to the correct MCU heap size for SRAM1
2 parents a97cf28 + 324dd06 commit 7b4f4fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ __initial_sp EQU 0x10008000 ; Top of RAM, L4-ECC-SRAM2 retained in standb
4848
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
4949
; </h>
5050

51-
Heap_Size EQU 0x8000 ; 32KB
51+
Heap_Size EQU 0x18000 ; 96KB
5252

5353
AREA HEAP, NOINIT, READWRITE, ALIGN=3
5454
EXPORT __heap_base

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ __initial_sp EQU 0x10008000 ; Top of RAM, L4-ECC-SRAM2 retained in standb
4848
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
4949
; </h>
5050

51-
Heap_Size EQU 0x8000 ; 32KB
51+
Heap_Size EQU 0x18000 ; 96KB
5252

5353
AREA HEAP, NOINIT, READWRITE, ALIGN=3
5454
EXPORT __heap_base

0 commit comments

Comments
 (0)