summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32-starterkit
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-10 00:00:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-10 00:00:28 +0000
commit4e8c745ae6c3e16a287258c12e1ec445baebf0e8 (patch)
tree0766e907efbdc925cca11f13f480a7f1dd8b22f3 /nuttx/configs/pic32-starterkit
parentfdd7c630a05ac70c186249a40430e7511bccb0f3 (diff)
downloadpx4-nuttx-4e8c745ae6c3e16a287258c12e1ec445baebf0e8.tar.gz
px4-nuttx-4e8c745ae6c3e16a287258c12e1ec445baebf0e8.tar.bz2
px4-nuttx-4e8c745ae6c3e16a287258c12e1ec445baebf0e8.zip
BEV needs to be zero in single-vector mode; Interrupts go to EBASE+0x200
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4153 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pic32-starterkit')
-rw-r--r--nuttx/configs/pic32-starterkit/ostest/ld.script7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/configs/pic32-starterkit/ostest/ld.script b/nuttx/configs/pic32-starterkit/ostest/ld.script
index eb764bd20..d2c1f162b 100644
--- a/nuttx/configs/pic32-starterkit/ostest/ld.script
+++ b/nuttx/configs/pic32-starterkit/ostest/ld.script
@@ -70,6 +70,8 @@ MEMORY
kseg1_reset (rx) : ORIGIN = 0xbfc00000, LENGTH = 384
kseg1_genexcpt (rx) : ORIGIN = 0xbfc00180, LENGTH = 128
+ kseg1_ebexcpt (rx) : ORIGIN = 0xbfc00200, 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 = 8192-1168
@@ -124,6 +126,11 @@ SECTIONS
KEEP (*(.gen_excpt))
} > kseg1_genexcpt
+ .ebase_excpt :
+ {
+ KEEP (*(.ebase_excpt))
+ } > kseg1_ebexcpt
+
.bev_excpt :
{
KEEP (*(.bev_excpt))