[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] How to compile for Mega128 using AvrEdit
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] How to compile for Mega128 using AvrEdit |
Date: |
Tue, 12 Oct 2004 09:55:49 +0200 (MET DST) |
"dhananjay s pathak" <address@hidden> wrote:
> one of the errors
>
> TCCR1B = (0<<CS11);
> the above statement is correct for both chips. isn't it?
Probably, although it's a pointlessly complicated way of saying
TCCR1B = 0;
(which btw. is the default after a hardware reset anyway).
> but while compiling in Mega 128 it gives 'cs11' undeclared.
Did you remember that C is case-sensitive? cs11 != CS11.
> why is it so?
What compiler and library version are you using with AvrEdit? The
current avr-gcc version is 3.4.x, the current avr-libc version is
1.0.4.
--
J"org Wunsch Unix support engineer
Wir stellen aus! Auf der SYSTEMS 2004 vom 18.-22. Oktober in München
Halle B 3, Stand 320-206 (Partner-Stand von Sun Microsystems)
Halle B 2, Stand 605 "Die Musterfirma"