summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-20 01:51:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-20 01:51:55 +0000
commitbccc2e256e4664cb3010a678722866a71e2fafc5 (patch)
tree1229fe57364daffbd8742d9c76336ccc1ff189c3 /nuttx/configs
parentb04afc232c680c1ffc1a3753398118835c7e6956 (diff)
downloadpx4-nuttx-bccc2e256e4664cb3010a678722866a71e2fafc5.tar.gz
px4-nuttx-bccc2e256e4664cb3010a678722866a71e2fafc5.tar.bz2
px4-nuttx-bccc2e256e4664cb3010a678722866a71e2fafc5.zip
Clean up a few PIC32 link errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3631 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/pcblogic-pic32mx/ostest/ld.script32
1 files changed, 16 insertions, 16 deletions
diff --git a/nuttx/configs/pcblogic-pic32mx/ostest/ld.script b/nuttx/configs/pcblogic-pic32mx/ostest/ld.script
index 7c8f11a1f..3781cd567 100644
--- a/nuttx/configs/pcblogic-pic32mx/ostest/ld.script
+++ b/nuttx/configs/pcblogic-pic32mx/ostest/ld.script
@@ -48,18 +48,18 @@ MEMORY
*
* REGION PHYSICAL KSEG SIZE
* DESCRIPTION START ADDR (BYTES)
- * ------------- ---------- ------ ---------------
+ * ------------- ---------- ------ ----------------------
* Exceptions:*
- * Reset 0x1fc00000 KSEG1 512
- * TLB Refill 0x1fc00200 KSEG1 256
- * Cache Error 0x1fc00300 KSEG1 256
- * Others 0x1fc00380 KSEG1 256
- * Interrupt 0x1fc00400 KSEG1 128
- * JTAG 0x1fc00480 KSEG1 16
- * Startup logic 0x1fc00490 KSEG0 4096-896-256-16
- * Exceptions 0x1fc01000 KSEG0 4096
- * Debug code 0x1fc02000 KSEG1 4096-16
- * DEVCFG3-0 0x1fc02ff0 KSEG1 16
+ * Reset 0x1fc00000 KSEG1 512 512
+ * TLB Refill 0x1fc00200 KSEG1 256 768
+ * Cache Error 0x1fc00300 KSEG1 128 896
+ * Others 0x1fc00380 KSEG1 128 1024 (1Kb)
+ * Interrupt 0x1fc00400 KSEG1 128 1152
+ * JTAG 0x1fc00480 KSEG1 16 1168
+ * Startup logic 0x1fc00490 KSEG0 4096-1168 4096 (4Kb)
+ * Exceptions 0x1fc01000 KSEG0 4096 8192 (8Kb)
+ * Debug code 0x1fc02000 KSEG1 4096-16 12272
+ * DEVCFG3-0 0x1fc02ff0 KSEG1 16 12288 (12Kb)
*
* Exceptions assme:
*
@@ -70,9 +70,9 @@ MEMORY
*/
kseg1_reset (rx) : ORIGIN = 0xbfc00000, LENGTH = 896
- kseg1_bevexcpt (rx) : ORIGIN = 0xbfc00380, LENGTH = 256
- kseg1_intexcpt (rx) : ORIGIN = 0xbfc00380, LENGTH = 128
- kseg1_dbgexcpt (rx) : ORIGIN = 0xbfc00400, LENGTH = 128
+ kseg1_bevexcpt (rx) : ORIGIN = 0xbfc00380, LENGTH = 128
+ kseg1_intexcpt (rx) : ORIGIN = 0xbfc00400, LENGTH = 128
+ kseg1_dbgexcpt (rx) : ORIGIN = 0xbfc00480, LENGTH = 16
kseg0_bootmem (rx) : ORIGIN = 0x9fc00490, LENGTH = 4096-1168
kseg0_excptmem (rx) : ORIGIN = 0x9fc01000, LENGTH = 4096
kseg1_dbgcode (rx) : ORIGIN = 0xbfc02000, LENGTH = 4096-16
@@ -194,7 +194,7 @@ SECTIONS
/* RAM functions are positioned at the beginning of RAM so that
* they can be guaranteed to satisfy the 2Kb alignment requirement.
*/
-
+/*
.ramfunc ALIGN(2K) :
{
_sramfunc = ABSOLUTE(.);
@@ -207,7 +207,7 @@ SECTIONS
_bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ;
_bmxdudba_address = LENGTH(kseg1_datamem) ;
_bmxdupba_address = LENGTH(kseg1_datamem) ;
-
+*/
.dbg_data (NOLOAD) :
{
. += (DEFINED (_DEBUGGER) ? 0x200 : 0x0);