We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4c9be commit 6744f47Copy full SHA for 6744f47
libraries/net/eth/lwip-eth/arch/lpc17_emac.c
@@ -138,12 +138,14 @@ struct lpc_enetdata {
138
# else
139
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
140
# endif
141
-#else
142
-#if defined(TARGET_LPC1768) && defined(TOOLCHAIN_GCC_ARM)
+#elif defined(TARGET_LPC1768)
+# if defined(TOOLCHAIN_GCC_ARM)
143
144
145
-# define ETHMEM_SECTION ALIGNED(8)
+# endif
146
#endif
+
147
+#ifndef ETHMEM_SECTION
148
+#define ETHMEM_SECTION ALIGNED(8)
149
150
151
/** \brief LPC EMAC driver work data
0 commit comments