1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Clean up non aliased LMAs

This commit is contained in:
Sam Lane 2020-08-23 08:34:59 +01:00
parent da9bb85843
commit 00d9fbbcd6

View file

@ -51,7 +51,7 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
_etext = .; /* define a global symbols at end of code */ _etext = .; /* define a global symbols at end of code */
} >FLASH1 AT >AXIM_FLASH1 } >FLASH1
/* Critical program code goes into ITCM RAM */ /* Critical program code goes into ITCM RAM */
/* Copy specific fast-executing code to ITCM RAM */ /* Copy specific fast-executing code to ITCM RAM */
@ -64,7 +64,7 @@ SECTIONS
*(.tcm_code*) *(.tcm_code*)
. = ALIGN(4); . = ALIGN(4);
tcm_code_end = .; tcm_code_end = .;
} >ITCM_RAM AT >AXIM_FLASH1 } >ITCM_RAM AT >FLASH1
.ARM.extab : .ARM.extab :
{ {
@ -75,7 +75,7 @@ SECTIONS
{ {
__exidx_start = .; __exidx_start = .;
*(.ARM.exidx*) __exidx_end = .; *(.ARM.exidx*) __exidx_end = .;
} >FLASH AT >AXIM_FLASH } >FLASH
.pg_registry : .pg_registry :
{ {
@ -83,14 +83,14 @@ SECTIONS
KEEP (*(.pg_registry)) KEEP (*(.pg_registry))
KEEP (*(SORT(.pg_registry.*))) KEEP (*(SORT(.pg_registry.*)))
PROVIDE_HIDDEN (__pg_registry_end = .); PROVIDE_HIDDEN (__pg_registry_end = .);
} >FLASH AT >AXIM_FLASH } >FLASH
.pg_resetdata : .pg_resetdata :
{ {
PROVIDE_HIDDEN (__pg_resetdata_start = .); PROVIDE_HIDDEN (__pg_resetdata_start = .);
KEEP (*(.pg_resetdata)) KEEP (*(.pg_resetdata))
PROVIDE_HIDDEN (__pg_resetdata_end = .); PROVIDE_HIDDEN (__pg_resetdata_end = .);
} >FLASH AT >AXIM_FLASH } >FLASH
/* Storage for the address for the configuration section so we can grab it out of the hex file */ /* Storage for the address for the configuration section so we can grab it out of the hex file */
.custom_defaults : .custom_defaults :
@ -120,13 +120,13 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
_edata = .; /* define a global symbol at data end */ _edata = .; /* define a global symbol at data end */
} >RAM AT >AXIM_FLASH } >RAM AT >FLASH
/* Uninitialized data section */ /* Uninitialized data section */
. = ALIGN(4); . = ALIGN(4);
.bss (NOLOAD) : .bss (NOLOAD) :
{ {
/* This is used by the startup in order to initialize the .bss secion */ /* This is used by the startup in order to initialize the .bss section */
_sbss = .; /* define a global symbol at bss start */ _sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss; __bss_start__ = _sbss;
*(.bss) *(.bss)
@ -142,7 +142,7 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
.sram2 (NOLOAD) : .sram2 (NOLOAD) :
{ {
/* This is used by the startup in order to initialize the .sram2 secion */ /* This is used by the startup in order to initialize the .sram2 section */
_ssram2 = .; /* define a global symbol at sram2 start */ _ssram2 = .; /* define a global symbol at sram2 start */
__sram2_start__ = _ssram2; __sram2_start__ = _ssram2;
*(.sram2) *(.sram2)
@ -166,7 +166,7 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
_efastram_data = .; /* define a global symbol at data end */ _efastram_data = .; /* define a global symbol at data end */
} >FASTRAM AT >AXIM_FLASH } >FASTRAM AT >FLASH
. = ALIGN(4); . = ALIGN(4);
.fastram_bss (NOLOAD) : .fastram_bss (NOLOAD) :