[En-Nut-Discussion] Large Arrays
Harald Kipp
harald.kipp at egnite.de
Fri Feb 7 10:23:38 CET 2003
The problem is in nutinit.c
NutHeapAdd((void *) (RAMEND + 1), (u_short) xramend - RAMEND);
This call puts _all_ external memory into heap. If you
don't want this, make a copy of nutinit.c in your app
directory, modify it and link it instead of lib/nutinit.o
Any reason, why you can't put the array into heap?
I think you know
http://www.ethernut.de/pdf/enmem100.pdf
Harald
More information about the En-Nut-Discussion
mailing list