mirror of https://github.com/ARMmbed/mbed-os.git
Merge remote-tracking branch 'github/master'
commit
1e4c9bed66
|
@ -116,25 +116,6 @@ SECTIONS
|
||||||
} > RAM
|
} > RAM
|
||||||
|
|
||||||
|
|
||||||
/* Code can explicitly ask for data to be
|
|
||||||
placed in these higher RAM banks where
|
|
||||||
they will be left uninitialized.
|
|
||||||
*/
|
|
||||||
.AHBSRAM0 (NOLOAD):
|
|
||||||
{
|
|
||||||
Image$$RW_IRAM2$$Base = . ;
|
|
||||||
*(AHBSRAM0)
|
|
||||||
Image$$RW_IRAM2$$ZI$$Limit = .;
|
|
||||||
} > USB_RAM
|
|
||||||
|
|
||||||
.AHBSRAM1 (NOLOAD):
|
|
||||||
{
|
|
||||||
Image$$RW_IRAM3$$Base = . ;
|
|
||||||
*(AHBSRAM1)
|
|
||||||
Image$$RW_IRAM3$$ZI$$Limit = .;
|
|
||||||
} > ETH_RAM
|
|
||||||
|
|
||||||
|
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
|
|
|
@ -139,11 +139,11 @@ struct lpc_enetdata {
|
||||||
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
|
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define ETHMEM_SECTION ALIGNED(8)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(TARGET_LPC1768) && defined(TOOLCHAIN_GCC_ARM)
|
#if defined(TARGET_LPC1768) && defined(TOOLCHAIN_GCC_ARM)
|
||||||
#define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
|
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
|
||||||
|
#else
|
||||||
|
# define ETHMEM_SECTION ALIGNED(8)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** \brief LPC EMAC driver work data
|
/** \brief LPC EMAC driver work data
|
||||||
|
|
Loading…
Reference in New Issue