adding TFRAMES in Makefile


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5946 285f258d-8064-b571-fbc6-9656dc998e90
atm128: modified the default clockrate to 4MHz

From: Andras Biro <bbandi86@gmail.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5947 285f258d-8064-b571-fbc6-9656dc998e90
rf212: fix irq handling when going to sleep

From: Reinhard Bischoff <reinhard.bischoff@decentlab.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5948 285f258d-8064-b571-fbc6-9656dc998e90
shimmer* and span added.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5949 285f258d-8064-b571-fbc6-9656dc998e90
Disable the watchdog timer for the msp430 tosboot. This is necessary because
GCC 4.x that doesn't do it in the init code anymore.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5951 285f258d-8064-b571-fbc6-9656dc998e90
Add a "nop" in the wait for the msp430 tosboot. This is necessary because GCC
4.x is smart enough to remove the empty loop completely.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5952 285f258d-8064-b571-fbc6-9656dc998e90
Concretization of genericized msp430 MCU identifiers which are not recognized by the new msp430-gcc LTS-20120406 toolchain

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5953 285f258d-8064-b571-fbc6-9656dc998e90
Restore the state of the msp430 watchdog before giving passing the control from
tosboot to the real application.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5955 285f258d-8064-b571-fbc6-9656dc998e90
Replace a "nop" with __delay_cycles(0). This shaves 2 bytes from the resulting
code.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5956 285f258d-8064-b571-fbc6-9656dc998e90
Pull back mspgcc CRT code discarded by redefinition of _reset_vector__, following a patch from Peter Bigot, resolving issue 115

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5957 285f258d-8064-b571-fbc6-9656dc998e90
Add a variable for the minimum recomended msp430-gcc version, and a compile time warning if the detected msp430-gcc version is lower than the recomendation

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5958 285f258d-8064-b571-fbc6-9656dc998e90
main change is a workaround for a msp430-gcc-4.x anomaly.  the
writeReg function needs to write two bytes to the bmp085 (register
address and value).  with the current toolchain, the second is blank.
so, in a weak show of brute force, writing *three* bytes magically
makes the second appear, and all is well; the driver works once again.

other minor change adds the i2cinit call, which compensates for the
fact that, new-to-this-toolchain, the msp430i2cp static state variable
is occasionally set to a random value instead of IDLE.

other diffs are related to variable cleanup.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5959 285f258d-8064-b571-fbc6-9656dc998e90
committing to new delay_cycles in setup delay, replacing stop-gap
replacement of (!) spin-loop, which msp430-gcc-4.x removes.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5960 285f258d-8064-b571-fbc6-9656dc998e90
addition of i2cinit to both, allowing drivers to reset state variable,
whose value gets "lost" as a new feature of msp430-gcc-4.x.  really.

otherwise, removal of atomic block in local set of state variable in
.write; another workaround for the new toolchain's idiosyncratic
behavior.

any other minor edits:  ditto.  

well-tested.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5961 285f258d-8064-b571-fbc6-9656dc998e90
fix of a long-standing bug (?) that uses a bitwise or instead of
a logical or in a conditional in getResponse.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5962 285f258d-8064-b571-fbc6-9656dc998e90
addition of mktime, as in the unix mktime.  we didn't have one, and i
needed it.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5963 285f258d-8064-b571-fbc6-9656dc998e90
getting rid of dubious bitfield code in adc register setup,
replacing it with direct bit manipulation (which the compiler cannot
botch).



git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5964 285f258d-8064-b571-fbc6-9656dc998e90
removal of additional -O compiler flag, which we do not need;
msp430-gcc-4.x optimizes *very* aggressively.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5965 285f258d-8064-b571-fbc6-9656dc998e90
Workarounds for the new 4.6.3 toolchain and minor fixes

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5966 285f258d-8064-b571-fbc6-9656dc998e90
rfxlink: fix typo in TestTimeStamping

From: Miklos Maroti <mmaroti@gmail.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5968 285f258d-8064-b571-fbc6-9656dc998e90