V1

Dependents:   EthernetInterface

Fork of lwip by mbed official

Revision:
2:fcd6ac34b3f8
Parent:
0:51ac1d130fd4
Child:
10:42a34d63b218
--- a/core/mem.c	Fri Jun 22 10:00:27 2012 +0000
+++ b/core/mem.c	Fri Jun 22 11:11:29 2012 +0000
@@ -178,7 +178,7 @@
  * how that space is calculated). */
 #ifndef LWIP_RAM_HEAP_POINTER
 /** the heap. we need one struct mem at the end and some room for alignment */
-u8_t ram_heap[MEM_SIZE_ALIGNED + (2*SIZEOF_STRUCT_MEM) + MEM_ALIGNMENT];
+u8_t ram_heap[MEM_SIZE_ALIGNED + (2*SIZEOF_STRUCT_MEM) + MEM_ALIGNMENT]__attribute((section("AHBSRAM0")));
 #define LWIP_RAM_HEAP_POINTER ram_heap
 #endif /* LWIP_RAM_HEAP_POINTER */