File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
net/LWIPInterface/lwip/core Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -189,11 +189,13 @@ struct mem {
189
189
#elif defined(TARGET_LPC1768 )
190
190
# if defined (__ICCARM__ )
191
191
# define ETHMEM_SECTION
192
- # elif defined(TOOLCHAIN_GCC_CR )
192
+ # elif defined(TOOLCHAIN_GCC_CR ) || defined( TOOLCHAIN_GCC_ARM )
193
193
# define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32")))
194
194
# else
195
195
# define ETHMEM_SECTION __attribute__((section("AHBSRAM0"),aligned))
196
196
# endif
197
+ #else
198
+ #define ETHMEM_SECTION
197
199
#endif
198
200
199
201
/** the heap. we need one struct mem at the end and some room for alignment */
Original file line number Diff line number Diff line change @@ -174,6 +174,8 @@ static u8_t *const memp_bases[] = {
174
174
# else
175
175
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
176
176
# endif
177
+ #else
178
+ #define ETHMEM_SECTION
177
179
#endif
178
180
179
181
/** This is the actual memory used by the pools (all pools in one big block). */
You can’t perform that action at this time.
0 commit comments