Two questions:
Q: Is it possible to use floats in avr-gcc?
Q: Can I view my variables (like int, uint16_t,.. ) in avr studio? I cant seem to find them. Or is it possible in the new version of avr studio?
Regards,
Chris
Two questions:
Q: Is it possible to use floats in avr-gcc?
Q: Can I view my variables (like int, uint16_t,.. ) in avr studio? I cant seem to find them. Or is it possible in the new version of avr studio?
Regards,
Chris
Sure, gcc has float support. There is an alternative to the GNU float library which you link in with the -lm option. The alternative is very compact and fast.
You cannot watch variables with gcc. That support is coming, but at an unspecifed later date.
Very nice...
Does it do these floating-point calculations in software then? The atmel has no multiply and no FP-unit.
Regards,
Chris