[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/deluge/Basestation BasestationAppC.nc, NONE, 1.1 Makefile, NONE, 1.1 README.txt, NONE, 1.1 volumes-at45db.xml, NONE, 1.1 volumes-stm25p.xml, NONE, 1.1
Razvan Musaloiu-E.
razvanm at users.sourceforge.net
Thu Oct 16 12:43:22 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/deluge/Basestation
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv848
Added Files:
BasestationAppC.nc Makefile README.txt volumes-at45db.xml
volumes-stm25p.xml
Log Message:
A dedicated basestation for Deluge T2.
--- NEW FILE: BasestationAppC.nc ---
/* Copyright (c) 2007 Johns Hopkins University.
* 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 (updated) modification history and the author appear in
* all copies of this source code.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, LOSS OF USE, DATA,
* OR PROFITS) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
/**
* @author Chieh-Jan Mike Liang <cliang4 at cs.jhu.edu>
* @author Razvan Musaloiu-E. <razvanm at cs.jhu.edu>
*/
configuration BasestationAppC {}
implementation
{
components DelugeC;
}
--- NEW FILE: Makefile ---
COMPONENT=BasestationAppC
BOOTLOADER=tosboot
CFLAGS += -DDELUGE_BASESTATION
include $(MAKERULES)
--- NEW FILE: README.txt ---
README for apps/tests/deluge/Basestation
Author/Contact:
Chieh-Jan Mike Liang <cliang4 at cs.jhu.edu>
Razvan Musaloiu-E. <razvanm at cs.jhu.edu>
Description:
This is a sample application for Deluge T2. The application is similar
with GoldenImage, but it includes the basestation behavior by using
the CFLAGS=-DDELUGE_BASESTATION flag.
For telosb the command to install the program is like this:
make telosb install bsl,/dev/ttyUSB0
Prerequisites:
Python 2.4 with pySerial
References:
The Deluge T2 wiki page from http://docs.tinyos.net/
--- NEW FILE: volumes-at45db.xml ---
<volume_table>
<volume name="GOLDENIMAGE" size="65536" base="0" />
<volume name="DELUGE1" size="65536"/>
<volume name="DELUGE2" size="65536"/>
<volume name="DELUGE3" size="65536"/>
</volume_table>
--- NEW FILE: volumes-stm25p.xml ---
<volume_table>
<volume name="GOLDENIMAGE" size="65536" base="983040" />
<volume name="DELUGE1" size="65536"/>
<volume name="DELUGE2" size="65536"/>
<volume name="DELUGE3" size="65536"/>
</volume_table>
More information about the Tinyos-2-commits
mailing list