- ?? - error - vprintf cannot fit section
Alan B. Pearce email (remove spam text)
>I wonder if that's a silicon "bug" or a silicon "feature." I suspect the
>compiler wants to put everything in one source file on one page of memory.
>> I was getting out of memory errors using Hi-Tech PICC-18 with an 18F452
>> at around 50% ROM usage.
>> Hi-Tech support told me it was due to a bug in the silicon and the fix
>> was to split my program into multiple files which could be linked
Yes, I couldn't quite see how it could be a "silicon bug". It sounded to me
more like a lack of ability for the compiler to move things around.
I wonder if it is related to the memory model being used, and doing modular
compiling and linking works around it?
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the