Merge pull request #5322 from chrissnow/LPC1768_LWIP

LPC1768: Fix ETHMEM_SECTION placement for ARM
pull/5471/head
Martin Kojtal 2017-11-09 16:51:13 +00:00 committed by GitHub
commit c67d91a4fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ struct lpc_enetdata {
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned)) # define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
# endif # endif
#elif defined(TARGET_LPC17XX) #elif defined(TARGET_LPC17XX)
# if defined(TOOLCHAIN_GCC_ARM) # if defined(TOOLCHAIN_GCC_ARM) || defined(TOOLCHAIN_ARM)
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned)) # define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
# endif # endif
#endif #endif