summaryrefslogtreecommitdiff
path: root/nuttx/configs/sure-pic32mx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-09 23:59:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-09 23:59:46 +0000
commit7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8 (patch)
tree93bfdd4085c7065656d2c224d1f1ab7ce7799ddc /nuttx/configs/sure-pic32mx
parent90a4b4973d3425e2f9b86445779fd5c974d23e27 (diff)
downloadpx4-nuttx-7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8.tar.gz
px4-nuttx-7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8.tar.bz2
px4-nuttx-7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8.zip
More PIC32 debug updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4083 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sure-pic32mx')
-rw-r--r--nuttx/configs/sure-pic32mx/ostest/defconfig2
-rw-r--r--nuttx/configs/sure-pic32mx/ostest/ld.script7
2 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/configs/sure-pic32mx/ostest/defconfig b/nuttx/configs/sure-pic32mx/ostest/defconfig
index 3cfa5bd9e..730d22db2 100644
--- a/nuttx/configs/sure-pic32mx/ostest/defconfig
+++ b/nuttx/configs/sure-pic32mx/ostest/defconfig
@@ -870,7 +870,7 @@ CONFIG_BOOT_RUNFROMFLASH=n
CONFIG_BOOT_COPYTORAM=n
CONFIG_CUSTOM_STACK=n
CONFIG_STACK_POINTER=
-CONFIG_IDLETHREAD_STACKSIZE=1024
+CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=2048
diff --git a/nuttx/configs/sure-pic32mx/ostest/ld.script b/nuttx/configs/sure-pic32mx/ostest/ld.script
index e15af9f6c..b23719c9f 100644
--- a/nuttx/configs/sure-pic32mx/ostest/ld.script
+++ b/nuttx/configs/sure-pic32mx/ostest/ld.script
@@ -60,7 +60,7 @@ MEMORY
* Debug code 0x1fc02000 KSEG1 4096-16 12272
* DEVCFG3-0 0x1fc02ff0 KSEG1 16 12288 (12Kb)
*
- * Exceptions assme:
+ * Exceptions assume:
*
* STATUS: BEV=1 and EXL=0
* CAUSE: IV=1
@@ -79,9 +79,12 @@ MEMORY
/* The PIC32MX440F512H has 32Kb of data memory at physical address
* 0x00000000. Since the PIC32MX has no data cache, this memory is
* always accessed through KSEG1.
+ *
+ * When used with MPLAB, we need to set aside 512 bytes of memory
+ * for use by MPLAB.
*/
- kseg1_datamem (w!x) : ORIGIN = 0xa0000000, LENGTH = 32K
+ kseg1_datamem (w!x) : ORIGIN = 0xa0000200, LENGTH = 32K - 512
}
OUTPUT_FORMAT("elf32-tradlittlemips")