📄 imx21_ram.lcf
字号:
#**********************************************************************
#
# (C) COPYRIGHT 2004 FREESCALE, INC.
# ALL RIGHTS RESERVED
#
# THIS IS PROPRIETARY SOURCE CODE OF FREESCALE, INC.
# The copyright notice above does not evidence any actual or
# intended publication of such source code
#
# Freescale Confidential Proprietary
#
#
# Group/Division: WMSG/MMDO
#
# Description:
# Linker command file for Metrowerks assembler
#
# Related Specifications:
#
# Errata:
#
# File Name: iMX21_RAM.lcf
# Revision Number: 0.1
# Author(s): Sharad Kumar
# Date created: 30Apr2004
# Revision History:
# Date Rev Description
# ---- --- -----------
# 30Apr04 0.1 First draft
#
#*********************************************************************/
#Linker Command File
MEMORY {
.vec (RW) : ORIGIN = 0xC0000000, LENGTH = 0
.page (RW) : ORIGIN = 0xC0004000, LENGTH = 0
.init (RW) : ORIGIN = AFTER(.page), LENGTH = 0
.text (RX) : ORIGIN = AFTER(.init), LENGTH = 0
.data (RW) : ORIGIN = AFTER(.text), LENGTH = 0
}
KEEP_SECTION { vectors }
SECTIONS {
.vector : {
MX21_Vectors.s(vectors)
} > .vec
.pagetabl : {
MX21_PageTable.s(pagetab)
} > .page
.mx21Init : {
MX21_Init.s(Init)
.= ALIGN(0x8);
} > .init
.app_text : {
*(.text)
*(.init)
.= ALIGN(0x8);
} > .text
.app_data : {
*(.rodata)
*(.sdata)
*(.data)
. = ALIGN(0x4);
*(.exception)
. = ALIGN(0x4);
__exception_table_start__ = .;
EXCEPTION
__exception_table_end__ = .;
. = ALIGN(0x4);
__sinit__ = .;
STATICINIT
. = ALIGN(0x4);
__START_BSS = .;
*(.bss)
__END_BSS = .;
. = ALIGN(0x8);
} > .data
__SP_INIT = . + 0x10000; # set stack to 0x10000 bytes (64KB)
__heap_addr = __SP_INIT; # heap grows in opposite direction of stack
__heap_size = 0x40000; # heap size set to 0x40000 bytes (256KB)
__S_romp = 0x0; # No ROM to RAM copy section
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -