Please enter bug reports into the bug-tracker on the savannah server to prevent 
them getting lost.

Simon


> Hi ho,
> 
> I gave mem.c my 8KB USB ram for its heap. This sram stands alone in 
> memory space.
> mem.c:mem_init() failed, because it creates a struct mem at the first 
> address after the heap.
> In my case, that would be an address exception, in normal cases, that 
> would be some memory that it does not own.
> 
> I fixed it by changing
> #define MEM_SIZE_ALIGNED     LWIP_MEM_ALIGN_SIZE(MEM_SIZE)
> to
> #define MEM_SIZE_ALIGNED     LWIP_MEM_ALIGN_SIZE(MEM_SIZE - 
> SIZEOF_STRUCT_MEM)
> 
> 
> dik
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to