Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,25 +116,6 @@ SECTIONS
} > 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_start__ = .;
Expand Down
8 changes: 4 additions & 4 deletions libraries/net/eth/lwip-eth/arch/lpc17_emac.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ struct lpc_enetdata {
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
# endif
#else
# define ETHMEM_SECTION ALIGNED(8)
#endif

#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

/** \brief LPC EMAC driver work data
Expand Down