mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Re-disable PIC32 ramfuncs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4051 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -92,8 +92,9 @@ CONFIG_ARCH_DMA=n
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Enable support for RAM-based functions
|
# Enable support for RAM-based functions
|
||||||
|
# (If selected, then modifications are needed in ld.script as well)
|
||||||
#
|
#
|
||||||
CONFIG_PIC32MX_RAMFUNCS=y
|
CONFIG_PIC32MX_RAMFUNCS=n
|
||||||
|
|
||||||
#
|
#
|
||||||
# Identify toolchain and linker options
|
# Identify toolchain and linker options
|
||||||
|
|||||||
@@ -190,7 +190,8 @@ SECTIONS
|
|||||||
* they can be guaranteed to satisfy the 2Kb alignment requirement.
|
* they can be guaranteed to satisfy the 2Kb alignment requirement.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.ramfunc ALIGN(2K) :
|
/* This causes failures if there are no RAM functions
|
||||||
|
.ramfunc /* ALIGN(2K) */ :
|
||||||
{
|
{
|
||||||
_sramfunc = ABSOLUTE(.);
|
_sramfunc = ABSOLUTE(.);
|
||||||
*(.ramfunc .ramfunc.*)
|
*(.ramfunc .ramfunc.*)
|
||||||
@@ -202,6 +203,7 @@ SECTIONS
|
|||||||
_bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ;
|
_bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ;
|
||||||
_bmxdudba_address = LENGTH(kseg1_datamem) ;
|
_bmxdudba_address = LENGTH(kseg1_datamem) ;
|
||||||
_bmxdupba_address = LENGTH(kseg1_datamem) ;
|
_bmxdupba_address = LENGTH(kseg1_datamem) ;
|
||||||
|
*/
|
||||||
|
|
||||||
.dbg_data (NOLOAD) :
|
.dbg_data (NOLOAD) :
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -92,8 +92,9 @@ CONFIG_ARCH_DMA=n
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Enable support for RAM-based functions
|
# Enable support for RAM-based functions
|
||||||
|
# (If selected, then modifications are needed in ld.script as well)
|
||||||
#
|
#
|
||||||
CONFIG_PIC32MX_RAMFUNCS=y
|
CONFIG_PIC32MX_RAMFUNCS=n
|
||||||
|
|
||||||
#
|
#
|
||||||
# Identify toolchain and linker options
|
# Identify toolchain and linker options
|
||||||
|
|||||||
@@ -190,7 +190,8 @@ SECTIONS
|
|||||||
* they can be guaranteed to satisfy the 2Kb alignment requirement.
|
* they can be guaranteed to satisfy the 2Kb alignment requirement.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.ramfunc ALIGN(2K) :
|
/* This causes failures if there are no RAM functions
|
||||||
|
.ramfunc /* ALIGN(2K) */ :
|
||||||
{
|
{
|
||||||
_sramfunc = ABSOLUTE(.);
|
_sramfunc = ABSOLUTE(.);
|
||||||
*(.ramfunc .ramfunc.*)
|
*(.ramfunc .ramfunc.*)
|
||||||
@@ -202,6 +203,7 @@ SECTIONS
|
|||||||
_bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ;
|
_bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ;
|
||||||
_bmxdudba_address = LENGTH(kseg1_datamem) ;
|
_bmxdudba_address = LENGTH(kseg1_datamem) ;
|
||||||
_bmxdupba_address = LENGTH(kseg1_datamem) ;
|
_bmxdupba_address = LENGTH(kseg1_datamem) ;
|
||||||
|
*/
|
||||||
|
|
||||||
.dbg_data (NOLOAD) :
|
.dbg_data (NOLOAD) :
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -92,8 +92,9 @@ CONFIG_ARCH_DMA=n
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Enable support for RAM-based functions
|
# Enable support for RAM-based functions
|
||||||
|
# (If selected, then modifications are needed in ld.script as well)
|
||||||
#
|
#
|
||||||
CONFIG_PIC32MX_RAMFUNCS=y
|
CONFIG_PIC32MX_RAMFUNCS=n
|
||||||
|
|
||||||
#
|
#
|
||||||
# Identify toolchain and linker options
|
# Identify toolchain and linker options
|
||||||
|
|||||||
@@ -190,7 +190,8 @@ SECTIONS
|
|||||||
* they can be guaranteed to satisfy the 2Kb alignment requirement.
|
* they can be guaranteed to satisfy the 2Kb alignment requirement.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.ramfunc ALIGN(2K) :
|
/* This causes failures if there are no RAM functions
|
||||||
|
.ramfunc /* ALIGN(2K) */ :
|
||||||
{
|
{
|
||||||
_sramfunc = ABSOLUTE(.);
|
_sramfunc = ABSOLUTE(.);
|
||||||
*(.ramfunc .ramfunc.*)
|
*(.ramfunc .ramfunc.*)
|
||||||
@@ -202,6 +203,7 @@ SECTIONS
|
|||||||
_bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ;
|
_bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ;
|
||||||
_bmxdudba_address = LENGTH(kseg1_datamem) ;
|
_bmxdudba_address = LENGTH(kseg1_datamem) ;
|
||||||
_bmxdupba_address = LENGTH(kseg1_datamem) ;
|
_bmxdupba_address = LENGTH(kseg1_datamem) ;
|
||||||
|
*/
|
||||||
|
|
||||||
.dbg_data (NOLOAD) :
|
.dbg_data (NOLOAD) :
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user