avr-chat
[Top][All Lists]
Advanced

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

Re: [Fwd: RE: [Fwd: RE: [avr-chat] BOOTLOADER on ATMega644]]


From: Bob Paddock
Subject: Re: [Fwd: RE: [Fwd: RE: [avr-chat] BOOTLOADER on ATMega644]]
Date: Mon, 22 Dec 2008 11:17:45 -0500

> Dimensioned variables are not accepted by the compiler e.g.:
>
> const prog_uint8_t eeprom[64];

Do Zero Length Arrays work in AVR GCC?
I have never seen them used nor documented as such,
but have never tried to use them.

http://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html

Try:
const prog_uint8_t eeprom[0];

Why not initialize your array to the blank flash state?




reply via email to

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