Skip to content

Commit 1e53aac

Browse files
committed
Fix ETHMEM_SECTION placement for ARM on LPC1768
1 parent 97e2d4a commit 1e53aac

File tree

1 file changed

+1
-1
lines changed
  • features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP

1 file changed

+1
-1
lines changed

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ struct lpc_enetdata {
153153
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
154154
# endif
155155
#elif defined(TARGET_LPC17XX)
156-
# if defined(TOOLCHAIN_GCC_ARM)
156+
# if defined(TOOLCHAIN_GCC_ARM) || defined(TOOLCHAIN_ARM)
157157
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
158158
# endif
159159
#endif

0 commit comments

Comments
 (0)