1 # Sample Linker Command File for CodeWarrior for ColdFire MCF51CN128
6 code (RX) : ORIGIN = 0x00000410, LENGTH = 0x0001FBF0
7 userram (RWX) : ORIGIN = 0x00800000, LENGTH = 0x00006000
12 # Heap and Stack sizes definition
14 ___stack_size = 0x0200;
16 # MCF51CN128 Derivative Memory map definitions from linker command files:
17 # ___RAM_ADDRESS, ___RAM_SIZE, ___FLASH_ADDRESS, ___FLASH_SIZE linker
18 # symbols must be defined in the linker command file.
20 # 24 Kbytes Internal SRAM
21 ___RAM_ADDRESS = 0x00800000;
22 ___RAM_SIZE = 0x00006000;
24 # 128 KByte Internal Flash Memory
25 ___FLASH_ADDRESS = 0x00000000;
26 ___FLASH_SIZE = 0x00020000;
28 .userram : {} > userram
47 __exception_table_start__ = .;
49 __exception_table_end__ = .;
91 ___heap_addr = ___HEAP_START;
92 ___HEAP_END = ___HEAP_START + ___heap_size;
93 ___SP_END = ___HEAP_END;
94 ___SP_INIT = ___SP_END + ___stack_size;
99 __SP_INIT = ___SP_INIT;
101 ___SP_AFTER_RESET = __SP_INIT;
103 _romp_at = ___ROM_AT + SIZEOF(.data);
109 WRITEW(SIZEOF(.data));