OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") OUTPUT_ARCH(arm) MEMORY { vectors (rx) : ORIGIN = 0x0, LENGTH = 0x400 flashsec (rx) : ORIGIN = 0x400, LENGTH = 0x10 flash (rx) : ORIGIN = 0x410, LENGTH = 256K - 0x410 sram_l (rwx) : ORIGIN = 0x20000000 - 32K, LENGTH = 32K /* Only accessible via code bus. */ sram_u (rwx) : ORIGIN = 0x20000000, LENGTH = 32K /* Only accessible via system bus. */ } INCLUDE kinetis-base.ld