[Tinyos-8051wg] how to use sccmangleapp script

Steve Jones steve at istech.demon.co.uk
Mon Jul 17 00:27:55 PDT 2006


On Saturday 15 Jul 2006 18:34, gagan gaba wrote:
> hi everybody....
>
> i m trying to port tinyos 1.1.0 on 8051mc . i
> downloaded the code files from contri/diku/mcs51 .
>
> now the problem is that i dont know how to use perl
> script i.e. sdccmangleapp.pl for making the files
> compatible for keil ..

You first have to generate an app.c using the standard TinyOS tools. Then 
in your TinyOS application directory the command will be somthing like:

sdccMangleAppC.pl -KEIL -file ./build/micaz/app.c  > ./keil/src/app51.c

This creates the KEIL compatible equivalent of app.c. 

You need to include app51.c in your KEIL project to get it compiled and 
loaded onto your 8051 target.

Cheers.



More information about the Tinyos-8051wg mailing list