hello across the big pond!
we are busy porting tinyos to yet another platform. the problem turned
up of how to manage support in the codebase for varying hardware
configurations:
- you can either replicate everything into a private snapshot of tinyos
that is then adapted and included to build your own apps for your own
platform (this is often the case with stuff in /contrib or /beta)
- or you can "ifdef" your device specific code in the system files
concerned, an example would be VoltagM.nc where there is an ifdef
PLATFORM_MICA2
so i have a question on coding policy: is it a good thing to do this
ifdef stuff in system files, i.e. Leds.nc or should we put platform
specific stuff into a separate file/dir/tree?
another question on the sidelines: is there a comprehensive docu of the
build/make flow other than reading through the Makefiles/Makerules?
thanx,
jb
--
Jan Beutel [EMAIL PROTECTED]
Computer Engineering and Networks Laboratory, ETZ G75
ETH Zurich +41 1 632 70 32 Phone
Gloriastrasse 35 +41 1 632 10 35 Fax
CH 8092 Zurich/Switzerland http://www.tik.ee.ethz.ch/~beutel
_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users