> Does msp430-gcc provide any systematic way, such as a generated symbol, from
> which a C source file can determine the size of a function? I have a function
> for field reprogramming, which is moved to RAM before use, and need to know
> how many words to move.
Don't know a way of doing this on a function basis, although the compiler
outputs this in the .s file. You could do it on a object file basis by changing
the linker script.
Also you could also use function attributes to put the function in a separate
section, then use the linker script to get the start and end addressed of the
section to copy.
Peter Jansen
__________________________________________________________________________________
Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7.
Enter now: http://au.docs.yahoo.com/homepageset/