[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] AtMega128 and Timers
From: |
Andreas Mahr |
Subject: |
Re: [avr-gcc-list] AtMega128 and Timers |
Date: |
Tue, 25 Jun 2002 18:53:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313 |
Hi!
Domenico La Fauci wrote:
Hi,
I have the same problem that you had with the timer on
ATMega128, but I haven't resolved yet!!
I read your solution but I think is not valid for me
Well for me it works now! As an alternative for changeing then Linker
Script you can use a command line switch for linking like Marek
mentioned (from my Makefile):
AVRCPU=atmega128
LFLAGS= -Tdata 0x800100 -Wl,-Map=$(PROJECT).map,--cref -mmcu=$(AVRCPU)
elf: $(OBJS) $(NOBJS)
updversion -c
avr-gcc $(OBJS) $(LFLAGS) -o $(PROJECT).elf
The -Tdata now dose the job!
But you have to use Avr-Gcc 3.2!!!!
The other code now works very well!
Andi
avr-gcc-list at http://avr1.org
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [avr-gcc-list] AtMega128 and Timers,
Andreas Mahr <=