mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
kinetis: Add ldscripts for various memory layouts
This commit is contained in:
parent
14ec05eab8
commit
12c9004a82
18
cpu/kinetis_common/ldscripts/kinetis_f1024l64u192.ld
Normal file
18
cpu/kinetis_common/ldscripts/kinetis_f1024l64u192.ld
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* NXP Kinetis CPU with the following memory layout:
|
||||
* 1024 kB flash @ 0x00000000
|
||||
* 256 kB RAM, split into two banks: 64 kB SRAM_L, 192 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 = 1024K - 0x410
|
||||
ram (rwx) : ORIGIN = 0x20000000 - 64K, LENGTH = 256K
|
||||
}
|
||||
|
||||
INCLUDE kinetis.ld
|
||||
18
cpu/kinetis_common/ldscripts/kinetis_f256l16u16.ld
Normal file
18
cpu/kinetis_common/ldscripts/kinetis_f256l16u16.ld
Normal file
@ -0,0 +1,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
|
||||
18
cpu/kinetis_common/ldscripts/kinetis_f256l32u32.ld
Normal file
18
cpu/kinetis_common/ldscripts/kinetis_f256l32u32.ld
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* NXP Kinetis CPU with the following memory layout:
|
||||
* 256 kB flash @ 0x00000000
|
||||
* 64 kB RAM, split into two banks: 32 kB SRAM_L, 32 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 - 32K, LENGTH = 64K
|
||||
}
|
||||
|
||||
INCLUDE kinetis.ld
|
||||
18
cpu/kinetis_common/ldscripts/kinetis_f512l32u32.ld
Normal file
18
cpu/kinetis_common/ldscripts/kinetis_f512l32u32.ld
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* NXP Kinetis CPU with the following memory layout:
|
||||
* 512 kB flash @ 0x00000000
|
||||
* 64 kB RAM, split into two banks: 32 kB SRAM_L, 32 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 = 512K - 0x410
|
||||
ram (rwx) : ORIGIN = 0x20000000 - 32K, LENGTH = 64K
|
||||
}
|
||||
|
||||
INCLUDE kinetis.ld
|
||||
18
cpu/kinetis_common/ldscripts/kinetis_f512l64u64.ld
Normal file
18
cpu/kinetis_common/ldscripts/kinetis_f512l64u64.ld
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* NXP Kinetis CPU with the following memory layout:
|
||||
* 512 kB flash @ 0x00000000
|
||||
* 128 kB RAM, split into two banks: 64 kB SRAM_L, 64 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 = 512K - 0x410
|
||||
ram (rwx) : ORIGIN = 0x20000000 - 64K, LENGTH = 128K
|
||||
}
|
||||
|
||||
INCLUDE kinetis.ld
|
||||
Loading…
x
Reference in New Issue
Block a user