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:
parent
47d915b55c
commit
dacf6b4b8f
@ -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
|
||||
#
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user