Re: AW: [avr-gcc-list] Pgmspace.h Use

2005-08-10 Thread E. Weddington
Haase Bjoern (PT-BEU/EMT) * wrote: IMO, it is not a problem of gcc, it is a problem of the C programming language that lacks support for Harvard architectures. In order to add support, you are forced to leave the ANSI standard, IIUC. Oh, agreed, completely. The only problem with GCC is ho

RE: AW: [avr-gcc-list] Pgmspace.h Use

2005-08-09 Thread Dave Hansen
From: "Haase Bjoern (PT-BEU/EMT) *" <[EMAIL PROTECTED]> [EMAIL PROTECTED] wrote: >Hello, > >for code portability reasons, I would like to avoid to call explicity the >function pgm_read_byte() like in the following example : > >const prog_char array[7] = {0x10,0x20,0x30,0x40,0x50,0x60,0x70}; >y