diff options
Diffstat (limited to 'nuttx/configs/sure-pic32mx')
-rw-r--r-- | nuttx/configs/sure-pic32mx/ostest/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/sure-pic32mx/ostest/ld.script | 7 |
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") |