diff --git a/src/stm32f4xx.ld b/src/stm32f4xx.ld index aff9b9b22..2a1666247 100755 --- a/src/stm32f4xx.ld +++ b/src/stm32f4xx.ld @@ -119,6 +119,7 @@ SECTIONS . = ALIGN(4); _ebss = .; /* define a global symbol at bss end */ __bss_end__ = _ebss; + _bss_end = _ebss; /* for gccollect */ } >CCM ._heap :