From a0ccc12f70fd5c2b13deb4343d7f14a96b5e9549 Mon Sep 17 00:00:00 2001 From: Russ Butler Date: Sun, 12 Jun 2016 23:16:55 +0100 Subject: [PATCH] Fix LPC1768 tests Don't have GCC_ARM use GCC_CR's memory region in mem.c. This fixes some tests. --- net/LWIPInterface/lwip/core/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/LWIPInterface/lwip/core/mem.c b/net/LWIPInterface/lwip/core/mem.c index 84aa8bb0cf..569e7a35e6 100644 --- a/net/LWIPInterface/lwip/core/mem.c +++ b/net/LWIPInterface/lwip/core/mem.c @@ -189,7 +189,7 @@ struct mem { #elif defined(TARGET_LPC1768) # if defined (__ICCARM__) # define ETHMEM_SECTION -# elif defined(TOOLCHAIN_GCC_CR) || defined(TOOLCHAIN_GCC_ARM) +# elif defined(TOOLCHAIN_GCC_CR) # define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32"))) # else # define ETHMEM_SECTION __attribute__((section("AHBSRAM0"),aligned))