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

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

[avr-gcc-list] Re: AT90PWM2 GCC support


From: Shaun Jackman
Subject: [avr-gcc-list] Re: AT90PWM2 GCC support
Date: Mon, 26 Feb 2007 15:30:06 -0700

On 2/26/07, Shaun Jackman <address@hidden> wrote:
I'm attempting to use the AT90PWM2, which isn't yet supported by GCC
with a simple -mat90pwm2 switch. Are the following switches
equivalent?

avr-gcc -mmcu=avr4 -minit-stack=0x2ff -D__AVR_AT90PWM2__

Am I missing anything? My STK500/STK520 board isn't yet behaving
exactly `right'. That's a rather vague diagnosis, so if I nail it down
to something specific, I'll get back to the list.

I was definitely missing something! The data segment was starting at
0x800060, which is smack in the middle of the register space! The
correct switches for the AT90PWM2 are...

avr-gcc -mmcu=avr4 -minit-stack=0x2ff -Tdata 0x800100 -D__AVR_AT90PWM2__

I see that GCC in the subversion repository supports the AT90PWM parts.

Cheers,
Shaun




reply via email to

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