« Return to Thread: ATTiniy 167 / Float

Re: ATTiniy 167 / Float

by Erwan MARC-2 :: Rate this Message:

Reply to Author | View in Thread

we can't change target because of function not available on bigger chips
(LIN module on ATTiny 167)
the solution we can use at the moment if fix-decimal method, hacking
library or rewriting  it is not a good solution in my point of view: I
prefer using validated tools by developers or community than recoding
everything.
Regards
PS: resent to list, instead of direct talking.

Laughlin, Jeff a écrit :

> Hack up the C library and/or compiler? Or implement your own floating point library and avoid native float types and operators. Or switch to a beefier device.
>
> -----Original Message-----
> From: Erwan MARC
> Sent: Sunday, July 12, 2009 2:03 AM
> To: Laughlin, Jeff
> Subject: Re: [avr-gcc-list] ATTiniy 167 / Float
>
> yes it is.
> Is there any solution to reduce size of this area?
> we have been working on "fix decimal" solution and are close to to a
> solution but may have to switch again to float in the future.
> Regards
>
> PS for Jörg, I'll check if we have the option -lm or not, what is the
> impact?
>
> Laughlin, Jeff a écrit :
>  
>> It's probably scratch area for software floating point library, since
>> avr has no fpu.
>>
>>    



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

 « Return to Thread: ATTiniy 167 / Float