summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32-starterkit
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/pic32-starterkit
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/pic32-starterkit')
-rw-r--r--nuttx/configs/pic32-starterkit/ostest/defconfig2
-rw-r--r--nuttx/configs/pic32-starterkit/ostest/ld.script7
2 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/configs/pic32-starterkit/ostest/defconfig b/nuttx/configs/pic32-starterkit/ostest/defconfig
index 64eaf5fe2..2aa62e73c 100644
--- a/nuttx/configs/pic32-starterkit/ostest/defconfig
+++ b/nuttx/configs/pic32-starterkit/ostest/defconfig
@@ -902,7 +902,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/pic32-starterkit/ostest/ld.script b/nuttx/configs/pic32-starterkit/ostest/ld.script
index 4f6b00cd4..aa888440c 100644
--- a/nuttx/configs/pic32-starterkit/ostest/ld.script
+++ b/nuttx/configs/pic32-starterkit/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 PIC32MX795F512L has 128Kb 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 = 128K
+ kseg1_datamem (w!x) : ORIGIN = 0xa0000200, LENGTH = 128K - 512
}
OUTPUT_FORMAT("elf32-tradlittlemips")