avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] array of floats in program memory


From: Ernst den Broeder
Subject: Re: [avr-gcc-list] array of floats in program memory
Date: Mon, 7 Apr 2003 22:45:28 -0400 (EDT)

On Mon, 7 Apr 2003, Ernst den Broeder wrote:
> This piece of code does not compile (winavr-20030312).  I get a 
> __progmem__ attribute ignored warning message, and an inspection of the 
> listing shows that my data is indeed going to ram.
> 
>    float PROGMEM afr_vs_voltage[62]=
>     {
>         1.40, 10.08,
>         1.45, 10.23, 
>         ...(trimmed for email)..
>         2.85, 19.66,
>         2.90, 20.66
>     };

I found this old email thread:
http://gcc.gnu.org/ml/gcc/2002-05/msg02345.html

Does this bug still exist in avrgcc 3.3?  

Ernst






reply via email to

[Prev in Thread] Current Thread [Next in Thread]