[Tinyos-help] Need help in compilation for mica2
schip at santafe.edu
Fri Sep 23 14:04:34 PDT 2005
.exe is an executable program image for the Atmega chip,
.srec is the 'S' record text file (a standard format for
PROM programmers) that gets downloaded by usip.
Someone recently posted a message containing the gcc line
for compiling app.c, and the option to get .asm...unfortuantely
I can't find the actual message. Not much help, but it was
within the last month I think.
aalarifi at ecs.syr.edu wrote:
> I have compiled blink application in tinyOS for mica2. I got app.c,
> main.exe, and main.srec.
> My questions are:
> 1- what are difference between main.exe and main.srec, and which one of them
> is the one that we upload to mica2 sensor node.
> 2- I want to know how compile app.c directly to main.exe and main.srec for
> mica2 assuming that I have only the app.c.
> 3- Is there any way to generate assembly code for this application for mica2.
> and if yes , please tell me how to do it. Also since I need to do some changes
> for the assembly code, how can I compile or assemble the assembly code to
> generate the target file which will be uploaded to mica2 sensor node.
> Best regards,
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
More information about the Tinyos-help