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

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

RE: [avr-gcc-list] basic UART Transmit interrupt problem


From: Dean Ferreyra
Subject: RE: [avr-gcc-list] basic UART Transmit interrupt problem
Date: Thu, 3 Jul 2003 17:09:18 -0700

Mark,

> avr-gcc -g -Os -mmcu=atmega128 -c -o Test.o Test.c
> avr-gcc -o Test.elf Test.o
> avr-objcopy -O srec Test.elf Test.srec
> uisp --erase -dprog=dapa
> uisp --upload -dprog=dapa if=Test.srec

Okay, here's another idea.  Try including the -mmcu option on your second
avr-gcc line:

    avr-gcc -mmcu=atmega128 -o Test.elf Test.o

Dean




reply via email to

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