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

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

Re: [avr-gcc-list] PROGMEM with boot loader


From: E. Weddington
Subject: Re: [avr-gcc-list] PROGMEM with boot loader
Date: Mon, 22 Nov 2004 11:06:50 -0700
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Wolfgang Quack wrote:

To see more details look in the avr-libc-users-manual and/or the
pgmspace.h include file.

To get a version of avr-libc with far support you have to edit
pgmspace.h and redefine the macro PRG_RDB
#define PRG_RDB(addr)   pgm_read_byte_far(addr)
and then don't forget to make and install it.


Please note that the PRG_RDB() macro is deprecated and should not be used. It is best to use pgm_read_byte(), pgm_read_byte_near(), or pgm_read_byte_far().





reply via email to

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