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

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

Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks


From: Klaus Rudolph
Subject: Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks
Date: Sat, 06 Jul 2002 20:39:28 +0200

> Hi,
> 
> > > os_cpu_a.s:181: Error: number must be less than 64
> 
> Replace SPL with _SFR_IO_ADDR(SPL) and so on with any other I/O register
> names in asm sources.  I tried to maintain compatibility with existing C
> sources, but asm sources need changes.

A lot of work! 

I fixed it with the following:

instead of including <io.h> i use "io2.h" which is the following:
#include <io.h>
#undef _SFR_IO8
#define _SFR_IO8(x) (x)

and all is compilable for me. 
Can i run in any trouble with that for me simplier solution?

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



reply via email to

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