Re: [Sdcc-user] New TinyOS 8051 platform results in non zero exit code

2009-01-19 Thread Martin Leopold
Hi All. On Sun, 2009-01-18 at 13:23 +0100, Martin Leopold wrote: > Regarding the non-zero exit code, is that a result of the warnings? Disregarding the ~ warnings, it turns out that the non-zero exit code was a result of the use of non-initialised variable that produced an assembler warning (that

Re: [Sdcc-user] New TinyOS 8051 platform results in non zero exit code

2009-01-18 Thread Martin Leopold
Hi Maarten. On Sat, 2009-01-17 at 01:02 +0100, Maarten Brock wrote: > But it looks like Martin uses it on an unsigned char and > not on a bit variable. I doubt it will create a problem > here. Probably not even suboptimal code. Thanks for the reassurance, but there must be some way of expressin

Re: [Sdcc-user] New TinyOS 8051 platform results in non zero exit code

2009-01-16 Thread Maarten Brock
> To: sdcc-user@lists.sourceforge.net > Sent: Fri, 16 Jan 2009 9:21 am > Subject: [Sdcc-user] New TinyOS 8051 platform results in non zero exit code > > > > All. > I've recently added ported my 8051-TinyOS to a new platform, and I > thought I might give SDCC a spin, bu

Re: [Sdcc-user] New TinyOS 8051 platform results in non zero exit code

2009-01-16 Thread ronnym581
In SDCC, use ! instead of ~ to flip a bit. -Original Message- From: Martin Leopold To: sdcc-user@lists.sourceforge.net Sent: Fri, 16 Jan 2009 9:21 am Subject: [Sdcc-user] New TinyOS 8051 platform results in non zero exit code All. I've recently added ported my 8051-TinyOS to

[Sdcc-user] New TinyOS 8051 platform results in non zero exit code

2009-01-16 Thread Martin Leopold
All. I've recently added ported my 8051-TinyOS to a new platform, and I thought I might give SDCC a spin, but unfortunately I'm having some problems (the platform is a SiLabs c8051F340, but I hardly think that is the problem). I've used the sdcc-nf 2.8.0 distributed with Ubuntu. The attached app.