Hi, Cliff, Generally speaking, if you find a hardware macro you cannot find in the working directory, try find in the following step:
tos/system platform/mica(or mica2 and so on) platform/avrmote: this is a special directory, if some macro can not find in the corresponding child directory under platform/, nesc compliler will try to find here avrgcc/lib/.../include: this is the original source of macro definition. nesc compliler automatically search this directory sensorboards/micasb(or basicsb and so on) -- Shan Tang Dept of Mechanical Engineering Univ of California, Berkeley Quoting Robert Szewczyk <[EMAIL PROTECTED]>: > For mica2 > > Tos/platform/mica2/hardware.h > > For mica > > Tos/platform/mica/hardware.h > > For mica2dot > > Tos/platform/mica2dot/hardware.h > > Rob > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Clifford Federspiel > Sent: Wednesday, December 17, 2003 4:18 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: RE: [Tinyos-users] function source code > > Which file? > > At 03:39 PM 12/17/2003 -0800, Joe Polastre wrote: > >tos/platform/<platformname> > > > >where <platformname> is mica, mica2, etc... > > > >-Joe > > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] On Behalf Of > Clifford > >Federspiel > >Sent: Wednesday, December 17, 2003 3:35 PM > >To: [EMAIL PROTECTED]; > [EMAIL PROTECTED] > >Subject: [Tinyos-users] function source code > > > >In which directory can I find the source code for the functions in > >hardware.h (e.g., TOSH_SET_RED_LED_PIN())? > > > > > > > >Clifford Federspiel, Ph.D. > >Research Specialist, Center for the Built Environment > >390 Wurster Hall, #1839, Berkeley, CA, 94720-1839 > >Tel: 510-643-1209 / FAX: 510-643-5571 / [EMAIL PROTECTED] > >http://arch1.ced.berkeley.edu:8012/~cfedersp/ > > _______________________________________________ > Tinyos-users mailing list > [EMAIL PROTECTED] > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users > > _______________________________________________ > Tinyos-users mailing list > [EMAIL PROTECTED] > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users > _______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
