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
This commit is contained in:
patacongo 2011-10-17 17:52:55 +00:00
parent 47d915b55c
commit dacf6b4b8f
6 changed files with 21 additions and 6 deletions

View File

@ -90,6 +90,11 @@ CONFIG_ARCH_BUTTONS=n
CONFIG_ARCH_CALIBRATION=n
CONFIG_ARCH_DMA=n
#
# Enable support for RAM-based functions
#
CONFIG_PIC32MX_RAMFUNCS=y
#
# Identify toolchain and linker options
#

View File

@ -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);

View File

@ -90,6 +90,11 @@ CONFIG_ARCH_BUTTONS=n
CONFIG_ARCH_CALIBRATION=n
CONFIG_ARCH_DMA=n
#
# Enable support for RAM-based functions
#
CONFIG_PIC32MX_RAMFUNCS=y
#
# Identify toolchain and linker options
#

View File

@ -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);

View File

@ -90,6 +90,11 @@ CONFIG_ARCH_BUTTONS=n
CONFIG_ARCH_CALIBRATION=n
CONFIG_ARCH_DMA=n
#
# Enable support for RAM-based functions
#
CONFIG_PIC32MX_RAMFUNCS=y
#
# Identify toolchain and linker options
#

View File

@ -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);