diff --git a/cpu/cc2538/ldscripts/cc2538nf11.ld b/cpu/cc2538/ldscripts/cc2538nf11.ld index a628c3ac95..a6574c8ee4 100644 --- a/cpu/cc2538/ldscripts/cc2538nf11.ld +++ b/cpu/cc2538/ldscripts/cc2538nf11.ld @@ -19,10 +19,10 @@ /* Memory Space Definitions: */ MEMORY { - rom (rx ) : ORIGIN = 0x00200000, LENGTH = 128K - 44 - cca (rx ) : ORIGIN = 0x0027ffd4, LENGTH = 44 - sram1 (rwx) : ORIGIN = 0x20004000, LENGTH = 16K - ram (rwx) : ORIGIN = 0x20004000, LENGTH = 16K + rom (rx) : ORIGIN = 0x00200000, LENGTH = 128K - 44 + cca : ORIGIN = 0x0027ffd4, LENGTH = 44 + sram1 : ORIGIN = 0x20004000, LENGTH = 16K + ram (w!rx) : ORIGIN = 0x20004000, LENGTH = 16K } /* MCU Specific Section Definitions */ diff --git a/cpu/cc2538/ldscripts/cc2538nf23.ld b/cpu/cc2538/ldscripts/cc2538nf23.ld index 1698f8d801..bf0657b6ec 100644 --- a/cpu/cc2538/ldscripts/cc2538nf23.ld +++ b/cpu/cc2538/ldscripts/cc2538nf23.ld @@ -19,11 +19,11 @@ /* Memory Space Definitions: */ MEMORY { - rom (rx ) : ORIGIN = 0x00200000, LENGTH = 256K - 44 - cca (rx ) : ORIGIN = 0x0027ffd4, LENGTH = 44 - sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 16K /* Lost in PM2 and PM3 */ - sram1 (rwx) : ORIGIN = 0x20004000, LENGTH = 16K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K + rom (rx) : ORIGIN = 0x00200000, LENGTH = 256K - 44 + cca : ORIGIN = 0x0027ffd4, LENGTH = 44 + sram0 : ORIGIN = 0x20000000, LENGTH = 16K /* Lost in PM2 and PM3 */ + sram1 : ORIGIN = 0x20004000, LENGTH = 16K + ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 32K } /* MCU Specific Section Definitions */ diff --git a/cpu/cc2538/ldscripts/cc2538nf53.ld b/cpu/cc2538/ldscripts/cc2538nf53.ld index 465bd738e2..d3840f64b8 100644 --- a/cpu/cc2538/ldscripts/cc2538nf53.ld +++ b/cpu/cc2538/ldscripts/cc2538nf53.ld @@ -19,11 +19,11 @@ /* Memory Space Definitions: */ MEMORY { - rom (rx ) : ORIGIN = 0x00200000, LENGTH = 512K - 44 - cca (rx ) : ORIGIN = 0x0027ffd4, LENGTH = 44 - sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 16K /* Lost in PM2 and PM3 */ - sram1 (rwx) : ORIGIN = 0x20004000, LENGTH = 16K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K + rom (rx) : ORIGIN = 0x00200000, LENGTH = 512K - 44 + cca : ORIGIN = 0x0027ffd4, LENGTH = 44 + sram0 : ORIGIN = 0x20000000, LENGTH = 16K /* Lost in PM2 and PM3 */ + sram1 : ORIGIN = 0x20004000, LENGTH = 16K + ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 32K } /* MCU Specific Section Definitions */ diff --git a/cpu/cc2538/ldscripts/cc2538sf53.ld b/cpu/cc2538/ldscripts/cc2538sf53.ld index 950ed6a1e5..34d1100189 100644 --- a/cpu/cc2538/ldscripts/cc2538sf53.ld +++ b/cpu/cc2538/ldscripts/cc2538sf53.ld @@ -19,9 +19,9 @@ /* Memory Space Definitions: */ MEMORY { - rom (rx ) : ORIGIN = 0x00200000, LENGTH = 512K - 44 - cca (rx ) : ORIGIN = 0x0027ffd4, LENGTH = 44 - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K + rom (rx) : ORIGIN = 0x00200000, LENGTH = 512K - 44 + cca : ORIGIN = 0x0027ffd4, LENGTH = 44 + ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 32K } /* MCU Specific Section Definitions */