[Tinyos-help] Re: TinyOS on OS X

Robert Taylor das.bobby2000 at gmail.com
Wed May 3 13:10:45 PDT 2006


Not knowing which wiki to post to...

I got msp430-gcc working on my Intel mac by modifying build-mspgcc as follows:

- Changed the rcn servers to the URLs on Dan's site.
- Changed the cp -a parts to -pPR
- Changed the line ""$GCC_SRCDIR"/configure --target=msp430
--prefix="$INSTALL_DIR" || exit 1"
to
"$GCC_SRCDIR"/configure --target=msp430 --prefix="$INSTALL_DIR"
--host=powerpc-apple-darwin8.6.1 || exit 1

I know it's a total hack, but it appears that it creates valid
binaries. I've can compile various apps in $TOSROOT/apps and
$MOTEIV_DIR/apps with success. Moteiv's Trawler and Oscilloscope apps
both appear to produce valid results.

Regards,
Robert


On 5/3/06, Matt Welsh <mdw at eecs.harvard.edu> wrote:
> Folks,
>
> I quickly threw together a web page with all the steps (I think!)
> that I used to get TinyOS working on Mac OS X on Intel:
>
> http://www.eecs.harvard.edu/~mdw/proj/tinyos-macos
>
> This supports both programming motes and using serialforwarder
> on Intel Macs. There are a few steps I am not 100% sure about,
> so if you have any updates please let me know.
>
> There are now at least three web pages for TinyOS on MacOS floating
> around. I don't particularly want to maintain this and am happy to
> use (e.g.,) the CENTS Wiki site instead once I get access to it.
> But for now, this is what I have figured out in case you find it useful.
>
> Ideally we could get support for MacOS into the next TinyOS and NesC
> revision so these pages will be obsolete.
>
> Thanks for all of your input and help.
>
> Matt
>
>
>
>
>
>



More information about the Tinyos-help mailing list