[Tinyos-devel] TinyOS Application Assembler
Jamie Coates
coatesj at dcs.gla.ac.uk
Mon Dec 3 06:54:55 PST 2007
Dear all,
First let me apologise if I have made incorrect usage of this mailing list, if I haven't then any answers you can give me to my question will be greatly appreciated, else, would it be possible to be directed to the correct list (if any) :)
Question:
How do I change the compilation process for a TinyOS application so that I can view the assembler code?
Background:
I want to be able to view the prologue and epilogue code for an interrupt handler. So, after building a Tiny application (say, Blink) I have access to a source file containing the program (app.c).
When I run the avr-gcc over the source file with the -S flag, the compiler will output the assembler for the application minus the required interrupt code. During the process the compiler outputs warnings that it is ignoring the __attribute((signal)), which would explain why I cannot see the assembler code that I am interested in viewing.
The command I use is "avr-gcc -S app.c"
I hope this is enough information to generate responses and any help that you could give me is greatly appreciated,
Jamie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20071203/d958db46/attachment.html
More information about the Tinyos-devel
mailing list