nrf51: Adjust ldscript memory segment attributes

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

View File

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

View File

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

View File

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