[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] sscanf %f
From: |
Steve Franks |
Subject: |
[avr-libc-dev] sscanf %f |
Date: |
Wed, 20 Dec 2006 22:49:46 -0700 |
Bueno~
We have just upgraded to avr-gcc 411 and avr-libc 145 (I think, whatever you
get after a portsnap fetch).
Simultanously, moved from the m128 to the m2561, because our flash usage is
about 126k <yikes!>.
Mysteriously, calling sscanf(char*, "%f %f", &f1, &f2) causes a processor
reset now, least as far as we can tell.
Things we did right (or so we hope): changed our heapstart & heapend to
account for move from 4k to 8k ram (using xram), added -u vfscanf and
-lscanf_flt to LDFLAGS (which was there & working on the m128).
It appears that sscanf with integer values works just fine. Only floats
cause a crash. We are on a different libscanf_flt now, obviously, as we're
in the lib/avr6 instead of lib/avr5 folder....
Ideas? Look elsewhere entirely, perhaps?
Steve
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] sscanf %f,
Steve Franks <=