diff --git a/cpu/kinetis/ldscripts/kinetis.ld b/cpu/kinetis/ldscripts/kinetis.ld index 35060e709a186779ab06f317461ea6ad2e794d2a..21f62364ea466e0897d1693c1df53cb9f508d4e8 100644 --- a/cpu/kinetis/ldscripts/kinetis.ld +++ b/cpu/kinetis/ldscripts/kinetis.ld @@ -27,10 +27,10 @@ _flashsec_length = 0x10; MEMORY { - vectors (rx) : ORIGIN = _rom_start_addr, LENGTH = _vectors_length - flashsec (rx) : ORIGIN = _rom_start_addr + _vectors_length, LENGTH = _flashsec_length - rom (rx) : ORIGIN = _rom_start_addr + _vectors_length + _flashsec_length, LENGTH = _rom_length - (_vectors_length + _flashsec_length) - ram (rwx) : ORIGIN = _ram_start_addr, LENGTH = _ram_length + vectors : ORIGIN = _rom_start_addr, LENGTH = _vectors_length + flashsec : ORIGIN = _rom_start_addr + _vectors_length, LENGTH = _flashsec_length + rom (rx) : ORIGIN = _rom_start_addr + _vectors_length + _flashsec_length, LENGTH = _rom_length - (_vectors_length + _flashsec_length) + ram (!rx) : ORIGIN = _ram_start_addr, LENGTH = _ram_length } SECTIONS