There was a thread awhile back where someone was having the same trouble, to many variables. Sounds like this is the same thing.
Maybe a work around would be to scale things in your code and SDFS by not declaring some of the pins as VARs.
An example would be in SDFS if you are not using the card detect
Code:
SD_CD Var PORTB.4 ' SD card detect
SD_CD_TRIS Var TRISB.4 ' SD card detect direction
to comment that portion out. Probably some things in your code that could be re-done also???
Just thoughts.
Bookmarks