[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-chat] upgrading winavr gives warning on PSTR
From: |
Weddington, Eric |
Subject: |
RE: [avr-chat] upgrading winavr gives warning on PSTR |
Date: |
Fri, 11 Jan 2008 10:16:49 -0700 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> On Behalf Of Steve Franks
> Sent: Friday, January 11, 2008 10:05 AM
> To: address@hidden
> Subject: [avr-chat] upgrading winavr gives warning on PSTR
>
> We just changed to the latest winavr and we get:
>
> "CmdHandlers.cpp:1933: warning: only initialized variables can be
> placed into program memory area"
>
> from:
>
> "printf_P(PSTR("Pmc Revision:%s\n"), GlobalRev);"
>
> and any other line that uses the PSTR macro.
>
> FYI, we are using avr-g++, and it reports v4.2.2 and the
> latest winavr rev.
>
Hi Steve,
There is a huge thread on AVR Freaks about this very topic.
Give me a minute while I look up the link ...
Eric Weddington