[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] AT90CAN128 support
From: |
Ned Konz |
Subject: |
Re: [avr-gcc-list] AT90CAN128 support |
Date: |
Thu, 2 Feb 2006 17:54:29 -0800 |
On Feb 2, 2006, at 1:37 PM, Rob Prowel wrote:
OK. So I'm sure someone has already brought this up
but I'm new to the list so I have to ask.
Is anyone working on adding support for the AT90CANxxx
chips to avr-gcc, specifically under the UNIX/Linux
platform?
It seems to support the at90can128 (which I think is the only one of
the family currently available).
Here's what happens on my Mac when I ask my gcc what it supports:
neds_mini:~ $ avr-gcc --target-help
Target specific options:
-msize Output instruction sizes to the asm file
-mshort-calls Use rjmp/rcall (limited range) on >8K
devices
-mno-tablejump Do not generate tablejump insns
-mtiny-stack Change only the low 8 bits of the stack
pointer
-mcall-prologues Use subroutines for function prologue/
epilogue
-mno-interrupts Change the stack pointer without
disabling interrupts
-mint8 Assume int to be 8 bit integer
-mmcu= Specify the MCU name
-minit-stack= Specify the initial stack address
There are undocumented target specific options as well.
AVR options:
-mmcu=[avr-name] select microcontroller variant
[avr-name] can be:
avr1 - AT90S1200, ATtiny1x, ATtiny28
avr2 - AT90S2xxx, AT90S4xxx, AT90S8xxx, ATtiny22
avr3 - ATmega103, ATmega603
avr4 - ATmega83, ATmega85
avr5 - ATmega161, ATmega163, ATmega32, AT94K
or immediate microcontroller name.
-mall-opcodes accept all AVR opcodes, even if not supported by MCU
-mno-skip-bug disable warnings for skipping two-word instructions
(default for avr4, avr5)
-mno-wrap reject rjmp/rcall instructions with 8K wrap-around
(default for avr3, avr5)
Known MCU names:
avr1 avr2 avr3 avr4 avr5 at90s1200 attiny10 attiny11 attiny12
attiny15
attiny28 at90s2313 at90s2323 at90s2333 at90s2343 attiny22 attiny26
at90s4433 at90s4414 at90s4434 at90s8515 at90s8535 at90c8534 at86rf401
attiny13 attiny2313 atmega603 atmega103 at43usb320 at43usb355
at76c711
atmega48 atmega8 atmega83 atmega85 atmega88 atmega8515 atmega8535
atmega16 atmega161 atmega162 atmega163 atmega165 atmega168 atmega169
atmega32 atmega323 atmega325 atmega3250 atmega64 atmega128 atmega645
atmega6450 at90can128 at94k
no emulation specific options.
And it looks like avr-libc also knows about them (well, at least the
at90can128) too:
neds_mini:~ ned$ find /sw/share/avr/ -iname "*can*"
/sw/share/avr/avr/include/avr/iocan128.h
/sw/share/avr/avr/include/avr/iocan32.h
/sw/share/avr/avr/include/avr/iocan64.h
/sw/share/avr/avr/include/avr/iocanxx.h
...
/sw/share/avr/avr/lib/avr5/crtcan128.o
neds_mini:~ ned$ fink info avr-libc
Information about 5329 packages read in 9 seconds.
avr-libc-1.4.0-1: AVR LIBC for GNU GCC & GNU binutils
This is AVR-LIBC. It is a C library implementation for use with
GNU GCC and GNU binutils for development of programs for
Atmel's AVR
mirocontrollers
.
Maintainer: Matthias Ringwald <address@hidden>
neds_mini:~ ned$ fink info avr-gcc
Information about 5329 packages read in 2 seconds.
avr-gcc-4.0.2-2: GNU GCC for ATMEL AVR micro controllers
.
Web site: http://gcc.gnu.org/
.
Maintainer: Matthias Ringwald <address@hidden>
I compiled my own, of course.
--
Ned Konz
address@hidden