[Tinyos-devel] msp430hardware.h patch

Philip Levis pal at cs.stanford.edu
Wed Mar 12 13:05:43 PDT 2008


On Mar 12, 2008, at 6:26 AM, steve ayer wrote:

> 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

Vlado, I think you're nominally the MSP430 maintainer. Do you want to  
take a look at this and apply it?

Phil


More information about the Tinyos-devel mailing list