mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
18ea93119f
New targets: - make blupd_all_clean - make blupd_all - make blupd_openpilot - make blupd_ahrs - make blupd_coptercontrol - make blupd_pipxtreme These targets are also included in the 'all_flight' target.
70 lines
1.4 KiB
Plaintext
70 lines
1.4 KiB
Plaintext
MEMORY
|
|
{
|
|
FLASH (rx) : ORIGIN = 0x08003000, LENGTH = 116K
|
|
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00005000
|
|
}
|
|
|
|
/* Stub out these functions since we don't use them anyway */
|
|
PROVIDE ( vPortSVCHandler = 0 ) ;
|
|
PROVIDE ( xPortPendSVHandler = 0 ) ;
|
|
PROVIDE ( xPortSysTickHandler = 0 ) ;
|
|
|
|
_estack = 0x20004FF0;
|
|
|
|
/* Section Definitions */
|
|
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
KEEP(*(.isr_vector .isr_vector.*))
|
|
*(.text .text.* .gnu.linkonce.t.*)
|
|
*(.glue_7t) *(.glue_7)
|
|
*(.rodata .rodata* .gnu.linkonce.r.*)
|
|
} > FLASH
|
|
|
|
/* init sections */
|
|
.initcalluavobj.init :
|
|
{
|
|
. = ALIGN(4);
|
|
__uavobj_initcall_start = .;
|
|
KEEP(*(.initcalluavobj.init))
|
|
. = ALIGN(4);
|
|
__uavobj_initcall_end = .;
|
|
} >FLASH
|
|
|
|
.ARM.extab :
|
|
{
|
|
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
|
} > FLASH
|
|
|
|
.ARM.exidx :
|
|
{
|
|
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
|
} > FLASH
|
|
|
|
. = ALIGN(4);
|
|
_etext = .;
|
|
_sidata = .;
|
|
|
|
.data : AT (_etext)
|
|
{
|
|
_sdata = .;
|
|
*(.data .data.*)
|
|
. = ALIGN(4);
|
|
_edata = . ;
|
|
} > SRAM
|
|
|
|
/* .bss section which is used for uninitialized data */
|
|
.bss (NOLOAD) :
|
|
{
|
|
_sbss = . ;
|
|
*(.bss .bss.*)
|
|
*(COMMON)
|
|
. = ALIGN(4);
|
|
_ebss = . ;
|
|
} > SRAM
|
|
|
|
. = ALIGN(4);
|
|
_end = . ;
|
|
}
|