[En-Nut-Discussion] Ram Decrease when Program grow
iVesWorking
ivesworking at hotmail.com
Thu Jul 29 13:11:47 CEST 2004
I am working on Ram extensive application, i found that Nut OS was writing in a very standard programming that we done on PC.
my point was below.
some part of OS lib was write on example like this
fprintf(fpout, "prog_char file%dname[] = \"%s\";\n\n", entryno, fsname);
if let say we put it to
static prog_char data1[] = "prog_char file%dname[] = \"%s\";\n\n";
fprintf_P(fpout, data1, entryno, fsname);
we will able to free 3xByte of Ram from Heap Memory, But the Rom Size Will grow 8-16Byte
i am not sure how you guys think.
Any Expert recomment we save more Rom or Ram on the NutOS
Ram maybe more easy expandable by adding external Ram(like use Ethernut2)
or we save limited Ram size by putting all the String to Prog_char ?
WF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20040729/5f5d44fd/attachment-0001.html>
More information about the En-Nut-Discussion
mailing list