Quadrotor from scratch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
566 B

ENTRY(_startup)
MEMORY
{
flash : ORIGIN = 0, LENGTH = 32K
ram_isp_low(A) : ORIGIN = 0x40000040, LENGTH = 224
ram : ORIGIN = 0x40000120, LENGTH = 7872
ram_isp_high(A) : ORIGIN = 0x40001FE0, LENGTH = 32
}
_stack_end = 0x40001FDC;
SECTIONS
{
. = 0;
.text :
{
*crt0.o (.text)
*(.text)
*(.rodata)
*(.rodata*)
*(.glue_7)
*(.glue_7t)
_etext = .;
} >flash
.data :
{
_data = .;
*(.data)
_edata = .;
} >ram AT >flash
.bss :
{
_bss_start = .;
*(.bss)
} >ram
. = ALIGN(4);
_bss_end = . ;
}
_end = .;