nrf52: Adjust ldscript memory segment attributes

This commit is contained in:
Joakim Nohlgård 2018-05-06 07:48:43 +02:00
parent 57b56d2e4d
commit 72118db964
4 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ INCLUDE multislot.ld
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x00000000 + boot_offset, LENGTH = rom_length rom (rx) : ORIGIN = 0x00000000 + boot_offset, LENGTH = rom_length
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 64K
} }
INCLUDE cortexm_base.ld INCLUDE cortexm_base.ld

View File

@ -21,7 +21,7 @@
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x1f000, LENGTH = 0x61000 rom (rx) : ORIGIN = 0x1f000, LENGTH = 0x61000
ram (rwx) : ORIGIN = 0x20002800, LENGTH = 0xD800 ram (w!rx) : ORIGIN = 0x20002800, LENGTH = 0xD800
} }
INCLUDE cortexm_base.ld INCLUDE cortexm_base.ld

View File

@ -21,7 +21,7 @@
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x00000000, LENGTH = 1024K rom (rx) : ORIGIN = 0x00000000, LENGTH = 1024K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 256K ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 256K
} }
INCLUDE cortexm_base.ld INCLUDE cortexm_base.ld

View File

@ -21,7 +21,7 @@
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x1f000, LENGTH = 0xe1000 rom (rx) : ORIGIN = 0x1f000, LENGTH = 0xe1000
ram (rwx) : ORIGIN = 0x20002800, LENGTH = 0x3D800 ram (w!rx) : ORIGIN = 0x20002800, LENGTH = 0x3D800
} }
INCLUDE cortexm_base.ld INCLUDE cortexm_base.ld