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
Enable data retnetion on every atmega128rfa1 (it seems, that ENDRT
is not enabled even on later models, so we explicitely enable it)

From: Andras Biro <bbandi86@gmail.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5969 285f258d-8064-b571-fbc6-9656dc998e90
rfa1: added higher data rate modes

From: Andras Biro <bbandi86@gmail.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5970 285f258d-8064-b571-fbc6-9656dc998e90
git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5971 285f258d-8064-b571-fbc6-9656dc998e90
rfa1: fix temperature precision bug

From: Andras Biro <bbandi86@gmail.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5973 285f258d-8064-b571-fbc6-9656dc998e90
ucmini: remove unnecessary IO pin settings (and save energy)

From: Miklos Maroti <mmaroti@gmail.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5974 285f258d-8064-b571-fbc6-9656dc998e90
cleanup related to i2c bugs revealed/introduced by mspgcc-4.x:

i2cinit introduced to fix loss of state in msp430i2c driver (this is
used in shimmer* platforms' version). 

read/writeDone events changed to (correct) async.

odd-sized arrays changed to even (yes, disruptive mis-alignment was
seen by this small artifact elsewhere with current toolchain).

enabled boolean introduced to eliminate spurious events from shared
bus.

interface/wiring updates in support.



git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5975 285f258d-8064-b571-fbc6-9656dc998e90
ucmini: add support for the LedC component

From: Miklos Maroti <mmaroti@gmail.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5976 285f258d-8064-b571-fbc6-9656dc998e90
ucmini: add LocalIeeeEui64C emulation

From: Miklos Maroti <mmaroti@gmail.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5977 285f258d-8064-b571-fbc6-9656dc998e90
added an enabled flag to avoid i2c bus conflicts when this device
isn't in use but wired into an app alongside another i2c chipset.


git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5978 285f258d-8064-b571-fbc6-9656dc998e90
ucmini: ms5607 sensor arbitration rework

From: Andras Biro <bbandi86@gmail.com>

git-svn-id: http://tinyos-main.googlecode.com/svn/trunk@5979 285f258d-8064-b571-fbc6-9656dc998e90
addition of modified csma module, containter, and a new interface that
they provide.

cc2420rxstate adds utilities that allow an app to disable reception
and/or cca, which is very useful for situations where manual
configuration of node transmissions will benefit from ignoring
incoming packets from neighboring nodes.  disabling cca can also cut
tx time in half if app is interference-aware.


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