[Top][All Lists]
[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
- Re: [avr-gcc-list] avr-libc docs, (continued)
- Re: [avr-gcc-list] avr-libc docs, Marek Michalkiewicz, 2002/07/05
- Re: [avr-gcc-list] avr-libc docs, Joerg Wunsch, 2002/07/05
- Re: [avr-gcc-list] avr-libc docs, Marek Michalkiewicz, 2002/07/05
- Re: [avr-gcc-list] avr-libc docs, Joerg Wunsch, 2002/07/05
- Re: [avr-gcc-list] avr-libc docs, Joerg Wunsch, 2002/07/05
- [avr-gcc-list] probelms with new avr-gcc from avr-freaks, Dafni & Robert Berger, 2002/07/06
- Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks, Theodore Roth, 2002/07/06
- Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks, Klaus Rudolph, 2002/07/06
- Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks, Marek Michalkiewicz, 2002/07/06
- Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks, Klaus Rudolph, 2002/07/06
- Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks,
Klaus Rudolph <=
- Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks, Marek Michalkiewicz, 2002/07/06
- Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks, Klaus Rudolph, 2002/07/06
- Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks, Klaus Rudolph, 2002/07/06
- Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks, Klaus Rudolph, 2002/07/06