Skip to content

Commit bb8daf8

Browse files
committed
fix section AHBSRAM for ethmem
1 parent cd9dbd4 commit bb8daf8

File tree

1 file changed

+1
-1
lines changed
  • connectivity/drivers/emac/TARGET_NXP_EMAC/TARGET_LPCTarget

1 file changed

+1
-1
lines changed

connectivity/drivers/emac/TARGET_NXP_EMAC/TARGET_LPCTarget/lpc17_emac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ struct lpc_enetdata {
127127

128128
#if defined(TARGET_LPC17XX)
129129
# if defined(TOOLCHAIN_GCC_ARM) || defined(TOOLCHAIN_ARM)
130-
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
130+
# define ETHMEM_SECTION __attribute__((section("AHBSRAM"), aligned(32)))
131131
# endif
132132
#endif
133133

0 commit comments

Comments
 (0)