cc2538: Adjust ldscript memory segment attributes

This commit is contained in:
Joakim Nohlgård 2018-05-06 07:43:32 +02:00
parent e7b957fb04
commit e3a27a74cc
4 changed files with 17 additions and 17 deletions

View File

@ -19,10 +19,10 @@
/* Memory Space Definitions: */ /* Memory Space Definitions: */
MEMORY MEMORY
{ {
rom (rx ) : ORIGIN = 0x00200000, LENGTH = 128K - 44 rom (rx) : ORIGIN = 0x00200000, LENGTH = 128K - 44
cca (rx ) : ORIGIN = 0x0027ffd4, LENGTH = 44 cca : ORIGIN = 0x0027ffd4, LENGTH = 44
sram1 (rwx) : ORIGIN = 0x20004000, LENGTH = 16K sram1 : ORIGIN = 0x20004000, LENGTH = 16K
ram (rwx) : ORIGIN = 0x20004000, LENGTH = 16K ram (w!rx) : ORIGIN = 0x20004000, LENGTH = 16K
} }
/* MCU Specific Section Definitions */ /* MCU Specific Section Definitions */

View File

@ -19,11 +19,11 @@
/* Memory Space Definitions: */ /* Memory Space Definitions: */
MEMORY MEMORY
{ {
rom (rx ) : ORIGIN = 0x00200000, LENGTH = 256K - 44 rom (rx) : ORIGIN = 0x00200000, LENGTH = 256K - 44
cca (rx ) : ORIGIN = 0x0027ffd4, LENGTH = 44 cca : ORIGIN = 0x0027ffd4, LENGTH = 44
sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 16K /* Lost in PM2 and PM3 */ sram0 : ORIGIN = 0x20000000, LENGTH = 16K /* Lost in PM2 and PM3 */
sram1 (rwx) : ORIGIN = 0x20004000, LENGTH = 16K sram1 : ORIGIN = 0x20004000, LENGTH = 16K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 32K
} }
/* MCU Specific Section Definitions */ /* MCU Specific Section Definitions */

View File

@ -19,11 +19,11 @@
/* Memory Space Definitions: */ /* Memory Space Definitions: */
MEMORY MEMORY
{ {
rom (rx ) : ORIGIN = 0x00200000, LENGTH = 512K - 44 rom (rx) : ORIGIN = 0x00200000, LENGTH = 512K - 44
cca (rx ) : ORIGIN = 0x0027ffd4, LENGTH = 44 cca : ORIGIN = 0x0027ffd4, LENGTH = 44
sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 16K /* Lost in PM2 and PM3 */ sram0 : ORIGIN = 0x20000000, LENGTH = 16K /* Lost in PM2 and PM3 */
sram1 (rwx) : ORIGIN = 0x20004000, LENGTH = 16K sram1 : ORIGIN = 0x20004000, LENGTH = 16K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 32K
} }
/* MCU Specific Section Definitions */ /* MCU Specific Section Definitions */

View File

@ -19,9 +19,9 @@
/* Memory Space Definitions: */ /* Memory Space Definitions: */
MEMORY MEMORY
{ {
rom (rx ) : ORIGIN = 0x00200000, LENGTH = 512K - 44 rom (rx) : ORIGIN = 0x00200000, LENGTH = 512K - 44
cca (rx ) : ORIGIN = 0x0027ffd4, LENGTH = 44 cca : ORIGIN = 0x0027ffd4, LENGTH = 44
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K ram (w!rx) : ORIGIN = 0x20000000, LENGTH = 32K
} }
/* MCU Specific Section Definitions */ /* MCU Specific Section Definitions */