diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-17 17:52:55 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-17 17:52:55 +0000 |
commit | 7e2a9480386b598282aee7c5135a545da0b839d9 (patch) | |
tree | 1d6d931e9b207f8c3f1ae9a5fa1312e6ccaf64dc /nuttx/configs | |
parent | bde9c54c8cd18dfbe663a1e41885dd8acdd176ee (diff) | |
download | px4-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')
-rw-r--r-- | nuttx/configs/pcblogic-pic32mx/ostest/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/pcblogic-pic32mx/ostest/ld.script | 4 | ||||
-rw-r--r-- | nuttx/configs/pic32-starterkit/ostest/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/pic32-starterkit/ostest/ld.script | 4 | ||||
-rw-r--r-- | nuttx/configs/sure-pic32mx/ostest/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/sure-pic32mx/ostest/ld.script | 4 |
6 files changed, 21 insertions, 6 deletions
diff --git a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig index c6057e875..4c796fa2e 100644 --- a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig +++ b/nuttx/configs/pcblogic-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/pcblogic-pic32mx/ostest/ld.script b/nuttx/configs/pcblogic-pic32mx/ostest/ld.script index 4e856ac25..139803c58 100644 --- a/nuttx/configs/pcblogic-pic32mx/ostest/ld.script +++ b/nuttx/configs/pcblogic-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); diff --git a/nuttx/configs/pic32-starterkit/ostest/defconfig b/nuttx/configs/pic32-starterkit/ostest/defconfig index 7ba611559..33e0d703d 100644 --- a/nuttx/configs/pic32-starterkit/ostest/defconfig +++ b/nuttx/configs/pic32-starterkit/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/pic32-starterkit/ostest/ld.script b/nuttx/configs/pic32-starterkit/ostest/ld.script index 35131d9d7..c9e85d059 100644 --- a/nuttx/configs/pic32-starterkit/ostest/ld.script +++ b/nuttx/configs/pic32-starterkit/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); 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); |