Joel Winarske wrote: >Hi Tom, > >What is the RAM/ROM footprint of your example code? > > > Turning off the HAS_MMC in the include/config.h gives: -rwxrwxr-x 1 tom tom 24076 Nov 17 15:34 main2138.bin* With HAS_MMC turned on: -rwxrwxr-x 1 tom tom 34044 Nov 17 15:36 main2138.bin* This is not an accuate test of size though. However, it does give a rough idea of how much larger the code will grow including the: module driver, newlib stubs, mmc hardware drivers, and RDCF2 sources. So what are we, 9..10K additional code for an MMC FAT filesystem? RAM is dependant upon how many file buffers you choose (MaxFileBuffers), it appears that each file buffer takes at least 1K. I have not looked very closely at how newlib is alloc()ing memory on the heap. So far, newlib is heap-ing about an additonal 12K, but that is not all file related. To me, that is worth spending as the host processor is an LPC2138 (512K of Flash). Regards, TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] MMC DOS FAT16 filesystem source available
2005-11-17 by Tom Walsh
Attachments
- No local attachments were found for this message.