diff --git a/stm-firmware/stm32f407vet6_flash.ld b/stm-firmware/stm32f407vet6_flash.ld index 3d6aed7..837227c 100644 --- a/stm-firmware/stm32f407vet6_flash.ld +++ b/stm-firmware/stm32f407vet6_flash.ld @@ -124,16 +124,10 @@ SECTIONS _sccmram = .; /* create a global symbol at ccmram start */ *(.ccmram) *(.ccmram*) - . = ALIGN(4); _eccmram = .; /* create a global symbol at ccmram end */ } >CCM AT> FLASH - - - - - _sidata = LOADADDR(.data); /* Initialized data sections goes into RAM, load LMA copy after code */ @@ -143,7 +137,6 @@ SECTIONS _sdata = .; /* create a global symbol at data start */ *(.data) /* .data sections */ *(.data*) /* .data* sections */ - . = ALIGN(4); _edata = .; /* define a global symbol at data end */ } >RAM AT> FLASH @@ -152,7 +145,7 @@ SECTIONS /* Uninitialized data section */ . = ALIGN(4); - .bss : + .bss (NOLOAD): { /* This is used by the startup in order to initialize the .bss secion */ _sbss = .; /* define a global symbol at bss start */