Show install.sh syntax highlighted
#!/bin/sh -x
if [ ${EMSTAR_ROOT:-none} = none ]; then
echo "EMSTAR_ROOT undefined. EMSTAR_ROOT needs to point to your emstar top-level dir"
exit
fi
if [ ${TOSDIR:-none} = none ]; then
echo "TOSDIR undefined. TOSDIR needs to point to your tinyos/tos dir"
exit
fi
if [ ${MAKERULES:-none} = none ]; then
echo "MAKERULES undefined. MAKERULES needs to point to your tinyos/beta/make/Makerules file"
exit
fi
# all should be good now
cd $EMSTAR_ROOT
if [ -d $TOSDIR/platform/emstar ]; then
echo "$TOSDIR/platform/emstar exists. Please remove the dir and rerun the script"
exit
fi
if [ -d $TOSDIR/platform/emstar-arm ]; then
echo "$TOSDIR/platform/emstar-arm exists. Please remove the dir and rerun the script"
exit
fi
/bin/ln -s $EMSTAR_ROOT/mote/emtos $TOSDIR/platform/emstar &&
/bin/ln -s $TOSDIR/platform/emstar $TOSDIR/platform/emstar-arm &&
/bin/ln -s $EMSTAR_ROOT/mote/emtos/emstar.target $TOSDIR/../beta/make &&
/bin/ln -s $EMSTAR_ROOT/mote/emtos/emstar-arm.target $TOSDIR/../beta/make &&
echo "All done"
See more files for this project here
EmStar is a software system for developing and deploying wireless sensor networks involving Linux-based platforms. As the wireless sensor network community has attempted to deploy more complex designs---large-scale, long-lived systems that need self-organization and adaptivity---a number of difficult software design issues have arisen. Advances in software design have not kept pace with the capabilities of hardware. This is because designing for an adaptive, efficient, and useful sensor network has turned out to be surprisingly complex and difficult. EmStar is a Linux-based software framework, whose goal is to dramatically reduce this complexity, enabling work to be shared and reused, and simplifying and speeding the design of new sensor network applications.
Project homepage:
http://cvs.cens.ucla.edu/emstar/
Programming language(s): C,Shell Script
License: other
avr/
pgmspace.h
.gdbinit
.platform
ADCC.nc
ADCM.nc
AM.h
BRadioM.nc
ByteEEPROM_platform.h
CC1000Control.nc
CC1000ControlM.nc
CC1000RadioIntM.nc
EEPROM.h
EEPROM.nc
Emstar.nc
HPLADCC.nc
HPLClock.nc
HPLConstants.h
HPLPotC.nc
HPLPowerManagementM.nc
HPLUARTC.nc
HPLUARTM.nc
InjectMsg.nc
LedsC.nc
MacControl.nc
Main.nc
PageEEPROM.h
PageEEPROM.nc
PageEEPROMC.nc
PageEEPROMM.nc
PageEEPROMShare.nc
PhyRadioMsg.h
README
RadioCRCPacket.nc
SysTimeC.nc
SysTimeM.nc
TimerC.nc
TimerHeap.nc
Voltage.h
VoltageM.nc
avr_eeprom.h
dbg.c
dbg.h
emstar.target
fplist.c
hardware.c
hardware.h
hardware.nido.h
hpl.c
install.sh
sched.c
tos_emstar.h