summaryrefslogtreecommitdiff
path: root/nuttx/configs/sure-pic32mx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-17 17:52:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-17 17:52:55 +0000
commit7e2a9480386b598282aee7c5135a545da0b839d9 (patch)
tree1d6d931e9b207f8c3f1ae9a5fa1312e6ccaf64dc /nuttx/configs/sure-pic32mx
parentbde9c54c8cd18dfbe663a1e41885dd8acdd176ee (diff)
downloadpx4-nuttx-7e2a9480386b598282aee7c5135a545da0b839d9.tar.gz
px4-nuttx-7e2a9480386b598282aee7c5135a545da0b839d9.tar.bz2
px4-nuttx-7e2a9480386b598282aee7c5135a545da0b839d9.zip
Fix PIC32 ramfunc logic; add rectangle graphic functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4050 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sure-pic32mx')
-rw-r--r--nuttx/configs/sure-pic32mx/ostest/defconfig5
-rw-r--r--nuttx/configs/sure-pic32mx/ostest/ld.script4
2 files changed, 7 insertions, 2 deletions
diff --git a/nuttx/configs/sure-pic32mx/ostest/defconfig b/nuttx/configs/sure-pic32mx/ostest/defconfig
index 88e4649ba..ed37cc352 100644
--- a/nuttx/configs/sure-pic32mx/ostest/defconfig
+++ b/nuttx/configs/sure-pic32mx/ostest/defconfig
@@ -91,6 +91,11 @@ CONFIG_ARCH_CALIBRATION=n
CONFIG_ARCH_DMA=n
#
+# Enable support for RAM-based functions
+#
+CONFIG_PIC32MX_RAMFUNCS=y
+
+#
# Identify toolchain and linker options
#
CONFIG_PIC32MX_MICROCHIPW=n
diff --git a/nuttx/configs/sure-pic32mx/ostest/ld.script b/nuttx/configs/sure-pic32mx/ostest/ld.script
index fa6eeada1..e1e5cc258 100644
--- a/nuttx/configs/sure-pic32mx/ostest/ld.script
+++ b/nuttx/configs/sure-pic32mx/ostest/ld.script
@@ -189,7 +189,7 @@ SECTIONS
/* RAM functions are positioned at the beginning of RAM so that
* they can be guaranteed to satisfy the 2Kb alignment requirement.
*/
-/*
+
.ramfunc ALIGN(2K) :
{
_sramfunc = ABSOLUTE(.);
@@ -202,7 +202,7 @@ SECTIONS
_bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ;
_bmxdudba_address = LENGTH(kseg1_datamem) ;
_bmxdupba_address = LENGTH(kseg1_datamem) ;
-*/
+
.dbg_data (NOLOAD) :
{
. += (DEFINED (_DEBUGGER) ? 0x200 : 0x0);