From 1e53aacd9f0ff004a2969955181fca6d6659d6a2 Mon Sep 17 00:00:00 2001 From: Chris Snow Date: Sun, 15 Oct 2017 17:05:45 +0100 Subject: [PATCH] Fix ETHMEM_SECTION placement for ARM on LPC1768 --- .../lwip-interface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c b/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c index d39be116e1..5b3b326435 100644 --- a/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c +++ b/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c @@ -153,7 +153,7 @@ struct lpc_enetdata { # define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned)) # endif #elif defined(TARGET_LPC17XX) -# if defined(TOOLCHAIN_GCC_ARM) +# if defined(TOOLCHAIN_GCC_ARM) || defined(TOOLCHAIN_ARM) # define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned)) # endif #endif