cc2538: Adjust ldscript memory segment attributes
This commit is contained in:
parent
e7b957fb04
commit
e3a27a74cc
@ -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 */
|
||||||
|
|||||||
@ -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 */
|
||||||
|
|||||||
@ -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 */
|
||||||
|
|||||||
@ -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 */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user