[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestSleep Makefile,
NONE, 1.2.2.2 TestSleepC.nc, NONE, 1.2.2.2 TestSleepM.nc, NONE,
1.2.2.2
Kevin Klues
klueska at users.sourceforge.net
Mon May 15 11:35:27 PDT 2006
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestSerialBandwidth
Makefile, NONE, 1.1.4.2 TestSerial.h, NONE,
1.1.4.2 TestSerial.java, NONE, 1.1.4.2 TestSerialAppC.nc, NONE,
1.1.4.2 TestSerialC.nc, NONE, 1.1.4.2 TestSerialMsg.java, NONE,
1.1.4.2
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestTimerSync
Makefile, NONE, 1.1.4.2 TestTimerSyncAppC.nc, NONE,
1.1.4.2 TestTimerSyncC.nc, NONE, 1.1.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/TestSleep
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18756/apps/tests/TestSleep
Added Files:
Tag: tos-2-resource-pm-eval-cand
Makefile TestSleepC.nc TestSleepM.nc
Log Message:
Merging the development branch with the resource/power management evaluation branch. After this merge all files except those already commited should be identical.
--- NEW FILE: Makefile ---
COMPONENT=TestSleepC
include $(MAKERULES)
--- NEW FILE: TestSleepC.nc ---
/// $Id: TestSleepC.nc,v 1.2.2.2 2006/05/15 18:35:25 klueska Exp $
/**
* "Copyright (c) 2005 Crossbow Technology, Inc.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose, without fee, and without written
* agreement is hereby granted, provided that the above copyright
* notice, the following two paragraphs and the author appear in all
* copies of this software.
*
* IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE TO ANY
* PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
* IF THE COPYRIGHT HOLDERS AND CONTRIBUTORS HAVE BEEN ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* THE COPYRIGHT HOLDERS AND CONTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
* "AS IS" BASIS, AND THE COPYRIGHT HOLDERS AND CONTRIBUTORS HAVE NO OBLIGATION
* TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
*/
/// @author Martin Turon <mturon at xbow.com>
/**
* TestSleep simple puts the processor into sleep mode and stays there.
* The instananeous and average current should be ~20 uA on the ATmega128.
*/
configuration TestSleepC
{
}
implementation
{
components MainC, TestSleepM,
HplSleepC; // Low-level control just for test purposes
TestSleepM -> MainC.Boot;
TestSleepM.PowerManager -> HplSleepC;
}
--- NEW FILE: TestSleepM.nc ---
/// $Id: TestSleepM.nc,v 1.2.2.2 2006/05/15 18:35:25 klueska Exp $
/**
* "Copyright (c) 2005 Crossbow Technology, Inc.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose, without fee, and without written
* agreement is hereby granted, provided that the above copyright
* notice, the following two paragraphs and the author appear in all
* copies of this software.
*
* IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE TO ANY
* PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
* IF THE COPYRIGHT HOLDERS AND CONTRIBUTORS HAVE BEEN ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* THE COPYRIGHT HOLDERS AND CONTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
* "AS IS" BASIS, AND THE COPYRIGHT HOLDERS AND CONTRIBUTORS HAVE NO OBLIGATION
* TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
*/
/// @author Martin Turon <mturon at xbow.com>
module TestSleepM
{
uses interface Boot;
uses interface McuSleep as PowerManager;
}
implementation
{
event void Boot.booted()
{
call PowerManager.enable();
}
}
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestSerialBandwidth
Makefile, NONE, 1.1.4.2 TestSerial.h, NONE,
1.1.4.2 TestSerial.java, NONE, 1.1.4.2 TestSerialAppC.nc, NONE,
1.1.4.2 TestSerialC.nc, NONE, 1.1.4.2 TestSerialMsg.java, NONE,
1.1.4.2
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestTimerSync
Makefile, NONE, 1.1.4.2 TestTimerSyncAppC.nc, NONE,
1.1.4.2 TestTimerSyncC.nc, NONE, 1.1.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list