diff --git a/platform/stm32f429/boot/flash.ld b/platform/stm32f429/boot/flash.ld index 47ca6648b..3773a2e8e 100644 --- a/platform/stm32f429/boot/flash.ld +++ b/platform/stm32f429/boot/flash.ld @@ -137,6 +137,9 @@ SECTIONS { _bss_section_start_ram = .; *(.bss) *(.bss.*) + /* The compiler may choose to allocate uninitialized global variables as + * COMMON blocks. This can be disabled with -fno-common if needed. */ + *(COMMON) _bss_section_end_ram = .; } >SRAM