Ports_for_CF5213.zip 接口程序;接口程序;
源代码在线查看: m5213evb_flash.lcf
#/*
# * File: flash.lcf
# * Purpose: Linker file for the M5213EVB
# *
# * Notes: Project running in external Flash
# *
# */
MEMORY
{
rom (RX) : ORIGIN = 0x00020000, LENGTH = 0x00020000
ram (RW) : ORIGIN = 0x20000000, LENGTH = 0x00007C00
}
SECTIONS
{
___IPSBAR = 0x40000000;
___SRAM = 0x20000000;
___SRAM_SIZE = (32 * 1024);
___FLASH = 0x00020000;
___FLASH_SIZE = (128 * 1024);
___VECTOR_RAM = ___SRAM;
.text :
{
. = ALIGN(0x10);
vectors.s (.text)
mcf5213_lo.s (.text)
*(.text)
*(.rodata)
. = ALIGN(0x10);
___DATA_ROM = .;
} > rom
.data_bss : AT(___DATA_ROM)
{
___DATA_RAM = .;
*(.data)
*(.sdata)
___DATA_END = .;
. = ALIGN(0x10);
___BSS_START = .;
*(.sbss)
*(SCOMMON)
*(.bss)
*(COMMON)
___BSS_END = .;
. = ALIGN(0x10);
___HEAP_START = .;
. = . + (4 * 1024);
___HEAP_END = .;
___SP_END = .;
___SP_INIT = ___SRAM + ___SRAM_SIZE;
} > ram
}