|
Re: Malloc?
If you're using MPLAB you can see that info. about your program at:
View -> Memory Usage Gauge
Note that the program memory is expressed in two-byte integers, but Data Memory is number of bytes.
You can also set a flag in MPLAB under Project -> Build Options -> Project, then the MPLINK Linker tab and click on "Generate map file." That'll create a text file in your project directory with the extension .map that shows you where your variables get pegged in the PIC memory.
The PIC we're using this year (and last year's '06 version as well) has more memory, e.g.128k of program memory.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 03-02-2007 at 17:58.
|