On Feb 3, 2007, at 8:18 PM, Ken Peirce wrote:
I am trying to compile mica2 in Blink directory with "make mica2".
It gets started but errors out with "unrecognized option '-
mmcu=atmega128". I've never had tinyOS1.1 on my machine. I started
out clear slate with 2.0. I know that the option is specified in
the mica2 ".platform" file. Is it an artifact I need to delete, or
do I have a tools vs. example code mismatch?
Any help would be greatly appreciated.
BTW I can run "make micaz sim" and it works fine. I did have to add
a phony static link in /usr/include to "python2.3" because FC6
linux comes with python2.4 standard. "ln -s python2.4 pythin2.3"
I think you have a tools issue; if the compiler isn't recognizing -
mmcu=atmega128, it's probably not invoking the right avr-gcc.
As for Python 2.3 vs 2.4, the TOSSIM tutorial (Appendix A) talks
about how to solve this issue. You don't want to put in a symlink;
you want to change the PYTHON_VERSION variable in the sim Makefile.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help