summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32-starterkit/ostest/ld.script
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-08 23:33:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-08 23:33:04 +0000
commitf95c0e2ee11d5e8ff3fb58de17f7ad64f38c439f (patch)
tree6688da4118cac90d42e396b6b0bfafd43b83ce94 /nuttx/configs/pic32-starterkit/ostest/ld.script
parent3e02e3c3b0b44da40a0fabca761d251c8846a065 (diff)
downloadpx4-nuttx-f95c0e2ee11d5e8ff3fb58de17f7ad64f38c439f.tar.gz
px4-nuttx-f95c0e2ee11d5e8ff3fb58de17f7ad64f38c439f.tar.bz2
px4-nuttx-f95c0e2ee11d5e8ff3fb58de17f7ad64f38c439f.zip
PIC32 bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4149 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pic32-starterkit/ostest/ld.script')
-rw-r--r--nuttx/configs/pic32-starterkit/ostest/ld.script11
1 files changed, 8 insertions, 3 deletions
diff --git a/nuttx/configs/pic32-starterkit/ostest/ld.script b/nuttx/configs/pic32-starterkit/ostest/ld.script
index a7d55d8b3..eb764bd20 100644
--- a/nuttx/configs/pic32-starterkit/ostest/ld.script
+++ b/nuttx/configs/pic32-starterkit/ostest/ld.script
@@ -62,14 +62,14 @@ MEMORY
*
* Exceptions assume:
*
- * STATUS: BEV=1 and EXL=0
+ * STATUS: BEV=0/1 and EXL=0
* CAUSE: IV=1
* JTAG: ProbEn=0
* And multi-vector support disabled
*/
- kseg1_reset (rx) : ORIGIN = 0xbfc00000, LENGTH = 896
- kseg1_bevexcpt (rx) : ORIGIN = 0xbfc00380, LENGTH = 128
+ kseg1_reset (rx) : ORIGIN = 0xbfc00000, LENGTH = 384
+ kseg1_genexcpt (rx) : ORIGIN = 0xbfc00180, LENGTH = 128
kseg1_intexcpt (rx) : ORIGIN = 0xbfc00400, LENGTH = 128
kseg1_dbgexcpt (rx) : ORIGIN = 0xbfc00480, LENGTH = 16
kseg0_bootmem (rx) : ORIGIN = 0x9fc00490, LENGTH = 8192-1168
@@ -119,6 +119,11 @@ SECTIONS
/* KSEG1 exception handler "trampolines" */
+ .gen_excpt :
+ {
+ KEEP (*(.gen_excpt))
+ } > kseg1_genexcpt
+
.bev_excpt :
{
KEEP (*(.bev_excpt))