[Top][All Lists]

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

Re: [avr-gcc-list] Uploaded new binaries for Win98

From: Robert Rozman
Subject: Re: [avr-gcc-list] Uploaded new binaries for Win98
Date: Tue Jan 16 11:05:04 2001


I should be more specific about my problem. Under 'volker' avr-gcc I've
developed program and it goes OK (also there are some predefined eeprom
variables). But when I compile it with latest avr-gcc, reading .eep file
into uisp shows that it is empty.

I'd kindly ask for some advice (it should be some small thing that may be
changed in new avr-gcc). I do definitions in this way:

typedef struct   {
  int serial_num;
  char name[MAX_NAME];
  char address;
  char status;
  char operations; } node_par;

node_par podatki __attribute__ ((section (".eeprom"))) =
 {SERIAL_NUM,"noname",'1',some_char, some_char};

Thanks in advance,

Robert Rozman

-----Izvorno sporoèilo-----
Od: Rich Neswold <address@hidden>
Za: address@hidden <address@hidden>
Datum: 15. januar 2001 20:44
Zadeva: Re: [avr-gcc-list] Uploaded new binaries for Win98

>Wasn't it 15-Jan-2001, at 04:56PM, when J Wunsch said:
>> Try Rich Neswold's documentation:
>> http://www.enteract.com/~rneswold/avr/avr-lib.pdf
>Thanks for the plug! :-)
>> It doesn't cover every detail (for example, i found that he missed
>> the __attribute((".eeprom")) thing), and it's a little unix-centric,
>> but it provides a good reference for the library part.
>On page 21 of the document, I mention
>    __attribute__((section (".eeprom")))
>Is this what you mean? Is there a slightly shorter format (the one you
>mentioned)? Or did you forget the section keyword?
>I'll update the document accordingly, although it does show one method of
>setting up EEPROM variables.
> Rich Neswold
> efax: 1.240.536.7092
>  web: www.enteract.com/~rneswold/
>avr-gcc-list mailing list

reply via email to

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