[Tinyos-devel] msp430hardware.h patch

steve ayer ayer at handhelds.org
Wed Mar 12 06:26:21 PDT 2008


hi folks,

i recently upgraded my mspgcc toolchain in the process of supporting the new msp430x261x 
series (more on this soon), and found that one of the macros used in msp430hardware.h was 
dropped, breaking builds of msp430-based devices.    __msp430_have_usart0_with_i2c was 
replaced with __MSP430_HAS_I2C__; the attached patch supports both.

btw, this patch also cleans up some indentation, and provides an improved version of 
TOSH_uwait() that one of my erstwhile colleagues added several years ago, its source 
noted; this upgrade can now be considered well-tested.

i hope that this helps,

steve



-------------- next part --------------
A non-text attachment was scrubbed...
Name: msp430hardware.patch
Type: text/x-patch
Size: 3726 bytes
Desc: not available
Url : https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080312/6034e8e1/msp430hardware.bin


More information about the Tinyos-devel mailing list