summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32mz-starterkit/scripts/mips-release.ld
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-23 16:36:35 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-23 16:36:35 -0600
commita7bdb1603e7125bf92abfec5bc51b5ccb6e27d43 (patch)
tree2ec7785f862766bdcc6e035451de0c02f53ee34b /nuttx/configs/pic32mz-starterkit/scripts/mips-release.ld
parent36f3e47e3d43463678cae6e7a0c3c7624176967e (diff)
downloadnuttx-a7bdb1603e7125bf92abfec5bc51b5ccb6e27d43.tar.gz
nuttx-a7bdb1603e7125bf92abfec5bc51b5ccb6e27d43.tar.bz2
nuttx-a7bdb1603e7125bf92abfec5bc51b5ccb6e27d43.zip
PIC32MZ: Most related to start up file a FLASH device configuration setup
Diffstat (limited to 'nuttx/configs/pic32mz-starterkit/scripts/mips-release.ld')
-rw-r--r--nuttx/configs/pic32mz-starterkit/scripts/mips-release.ld11
1 files changed, 9 insertions, 2 deletions
diff --git a/nuttx/configs/pic32mz-starterkit/scripts/mips-release.ld b/nuttx/configs/pic32mz-starterkit/scripts/mips-release.ld
index 94ed775a4..cc51d43fe 100644
--- a/nuttx/configs/pic32mz-starterkit/scripts/mips-release.ld
+++ b/nuttx/configs/pic32mz-starterkit/scripts/mips-release.ld
@@ -59,7 +59,8 @@ MEMORY
* JTAG 0x1fc00480 KSEG1 16 1168
* Exceptions 0x1fc00490 KSEG0 8192-1168 8192 (4Kb)
* Debug code 0x1fc02000 KSEG1 4096-16 12272
- * DEVCFG3-0 0x1fc0ff40 KSEG1 16 12288 (12Kb)
+ * ADEVCFG3-0 0x1fc0ff40 KSEG1 16 12288 (12Kb)
+ * DEVCFG3-0 0x1fc0ffc0 KSEG1 16 12288 (12Kb)
*
* Exceptions assume:
*
@@ -77,7 +78,8 @@ MEMORY
kseg1_dbgexcpt (rx) : ORIGIN = 0xbfc00480, LENGTH = 16
kseg0_bootmem (rx) : ORIGIN = 0x9fc00490, LENGTH = 8192-1168
kseg1_dbgcode (rx) : ORIGIN = 0xbfc02000, LENGTH = 4096-16
- kseg1_devcfg (r) : ORIGIN = 0x1fc0ff40, LENGTH = 192
+ kseg1_adevcfg (r) : ORIGIN = 0x1fc0ff40, LENGTH = 128
+ kseg1_devcfg (r) : ORIGIN = 0x1fc0ffc0, LENGTH = 128
/* The The PIC32MZ2048ECH144 and PIC32MZ2048ECM144 chips have has 512Kb
* of data memory at physical address 0x00000000. Since the PIC32MZ
@@ -159,6 +161,11 @@ SECTIONS
.dbg_code = ORIGIN(kseg1_dbgcode);
+ .adevcfg :
+ {
+ KEEP (*(.adevcfg))
+ } > kseg1_adevcfg
+
.devcfg :
{
KEEP (*(.devcfg))