[Top][All Lists]

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

Re: [avr-gcc-list] ELPM on MEGA128

From: Anton Erasmus
Subject: Re: [avr-gcc-list] ELPM on MEGA128
Date: Wed, 06 Mar 2002 20:10:26 +0200

On 6/3/2002 at 10:55 Peter Bosscha wrote:

>Hi Folks,
>Has anyone tried 
>static inline unsigned char __elpm_inline(unsigned long __addr)
>as defined in pgmspace.h.
>Or for that matter the __ELPM_enhanced__(addr) in ina90.h.
>I'm getting:
>warning: asm operand 1 probably doesn't match constraints
>inconsistent operand constraints in an `asm'
>Is there a problem or am I doing something silly ?
>Are there alternatives ?

If you are compiling for the ATMega128 using my quick fix patch for Win32, then
the problem is that the mcu=avr5 does not support the elpm instruction. But the 
that are using it in a seperate module, and compile that module with 

Hope This helps

   Anton Erasmus

avr-gcc-list at http://avr1.org

reply via email to

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