[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/diku/mcs51/apps/Empty
Empty.nc, NONE, 1.1 EmptyM.nc, NONE, 1.1 Makefile, NONE, 1.1
Martin Leopold
mleopold at users.sourceforge.net
Fri Apr 7 05:49:58 PDT 2006
Update of /cvsroot/tinyos/tinyos-1.x/contrib/diku/mcs51/apps/Empty
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20038/apps/Empty
Added Files:
Empty.nc EmptyM.nc Makefile
Log Message:
A first go at an mcs51 port
--- NEW FILE: Empty.nc ---
/*
*/
configuration Empty {
}
implementation {
components Main, EmptyM;
Main.StdControl -> EmptyM.StdControl;
}
--- NEW FILE: EmptyM.nc ---
/*
The NULL application
*/
module EmptyM {
provides {
interface StdControl;
}
}
implementation {
command result_t StdControl.init() {
return SUCCESS;
}
command result_t StdControl.start() {
return SUCCESS;
}
command result_t StdControl.stop() {
return SUCCESS;
}
}
--- NEW FILE: Makefile ---
COMPONENT=Empty
PFLAGS=-I%T/lib/Counters
ifdef IM_SENDER
PFLAGS += "-DIM_SENDER"
endif
include ../Makerules
More information about the Tinyos-contrib-commits
mailing list