a752c7ab
elopes
add first test an...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* NXP Kinetis CPU with the following memory layout:
* 256 kB flash @ 0x00000000
* 32 kB RAM, split into two banks: 16 kB SRAM_L, 16 kB SRAM_U.
* SRAM_L ends at 0x1fffffff, SRAM_U begins at 0x20000000
*/
OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
MEMORY
{
vectors (rx) : ORIGIN = 0x00000000, LENGTH = 0x400
flashsec (rx) : ORIGIN = 0x00000400, LENGTH = 0x10
rom (rx) : ORIGIN = 0x00000410, LENGTH = 256K - 0x410
ram (rwx) : ORIGIN = 0x20000000 - 16K, LENGTH = 32K
}
INCLUDE kinetis.ld
|