Re: [Mspgcc-users] sscanf for msp430-gcc

2010-04-19 Thread Peter Bigot
Closest useful functionality may be strtoul(3), which is present (I haven't personally tested it). Peter On Mon, Apr 19, 2010 at 6:13 AM, Balbir Thomas bal...@hvpd.co.uk wrote: Hi, I am trying to port some software to msp430-gcc. I think the code was originally written for IAR (not sure).

Re: [Mspgcc-users] sscanf for msp430-gcc

2010-04-19 Thread Michiel Konstapel
-Original Message- From: Peter Bigot [mailto:p...@peoplepowerco.com] Sent: maandag 19 april 2010 14:02 To: GCC for MSP430 - http://mspgcc.sf.net Subject: Re: [Mspgcc-users] sscanf for msp430-gcc Closest useful functionality may be strtoul(3), which is present (I haven't personally

Re: [Mspgcc-users] sscanf for msp430-gcc

2010-04-19 Thread steve ayer
hi michiel, your mention of broken register variables caught my eye. can you, or peter, please clarify? thanks, steve On 04/19/2010 08:09 AM, Michiel Konstapel wrote: -Original Message- From: Peter Bigot [mailto:p...@peoplepowerco.com] Sent: maandag 19 april 2010 14:02 To: GCC for

Re: [Mspgcc-users] sscanf for msp430-gcc

2010-04-19 Thread Peter Bigot
If you can duplicate that with mspgcc4 please let me know or file a ticket on that project and I'll see it gets fixed. Peter On Mon, Apr 19, 2010 at 7:09 AM, Michiel Konstapel m.konsta...@sownet.nlwrote: -Original Message- From: Peter Bigot [mailto:p...@peoplepowerco.com] Sent:

Re: [Mspgcc-users] sscanf for msp430-gcc

2010-04-19 Thread Michiel Konstapel
I was using strtoul on a '2418 and it would continually reset. I dug up the source and compared it to that of atoi, which did work. The former used register variables: unsigned long strtoul(nptr, endptr, base) const char *nptr; char **endptr; register int base; { register const char *s =

[Mspgcc-users] MSP430F2418 supported?

2010-04-19 Thread Joe Falabrac
Hello all, I am about to use an 'F2418 for one of my projects mostly because of the extended memory map and I would like to know how far the mspgcc compiler goes concerning the MSP430X architecture. Is there full support for RAM and FLASH addresses beyond 64K? Or any limitations? If usable,

Re: [Mspgcc-users] sscanf for msp430-gcc

2010-04-19 Thread Michiel Konstapel
-Original Message- From: Peter Bigot [mailto:p...@peoplepowerco.com] Sent: maandag 19 april 2010 14:49 To: GCC for MSP430 - http://mspgcc.sf.net Subject: Re: [Mspgcc-users] sscanf for msp430-gcc If you can duplicate that with mspgcc4 please let me know or file a ticket on that