Well, guys. I noticed something. To implement this file access support, I wasted almost all the available memory. I even bent the limits in *.lcf file because I got messages that I am out of memory. Is there any way to elicit from this lib: RK_MLC_USBFS_SD.A only those functions that are necessary? Because in Memap.txt you can see parts of this lib, and there is SD.OBJ, so maybe we can optimize it, and know what memory regions are necessary to add to link script file, and which are not.
Anyway, I handled long file names, but what really creeps me out is that problem with memory :-/ If I don't do something, we won't create any nice app because we quickly run out of it.
Perhaps some of you are familiar with Link Script Files which sdcc uses? How to rearrange it to gain more mem?
|