[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] How about "C": AVR306 for GCC
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] How about "C": AVR306 for GCC |
Date: |
Thu, 27 Feb 2003 11:38:10 +0100 (MET) |
"WAKAME, Nobukazu" <address@hidden> wrote:
> in UART2.C (AVR306)
>>>/* Interrupt handlers */
>>>#pragma vector=UART_RX_vect
>>>__interrupt void UART_RX_interrupt( void )
>
> in gcctest4.c (gcctest)
>>>SIGNAL(SIG_UART_RECV)
>>>/* signal handler for receive complete interrupt */
>
> How can I translate it ?
What do you need to translate? Just replace the first form by the
second, i guess that's already all. But you've been talking about
assembler, not C files initially, so i really didn't look into that C
code.
Btw., don't name your files ending in .C (the capital letter "C") for
gcc, it'll threat them as C++ files. Always use the lower-case letter
"c" for the suffix of C files. (.C, .cpp, .cc are all considered to
be C++.)
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
- [avr-gcc-list] AVR223 for GCC, ramnath, 2003/02/16
- Re: [avr-gcc-list] AVR223 for GCC, ramnath, 2003/02/16
- Re: [avr-gcc-list] AVR223 for GCC, Joerg Wunsch, 2003/02/17
- [avr-gcc-list] How about "C": AVR306 for GCC, WAKAME, Nobukazu, 2003/02/27
- Re: [avr-gcc-list] How about "C": AVR306 for GCC,
Joerg Wunsch <=
- [avr-gcc-list] Re: How about "C": AVR306 for GCC, WAKAME, Nobukazu, 2003/02/27
- Re: [avr-gcc-list] Re: How about "C": AVR306 for GCC, Joerg Wunsch, 2003/02/27
- [avr-gcc-list] Re: How about "C": AVR306 for GCC, WAKAME, Nobukazu, 2003/02/27
- Re: [avr-gcc-list] Re: How about "C": AVR306 for GCC, Sander Pool, 2003/02/27
- [avr-gcc-list] Re: How about "C": AVR306 for GCC, WAKAME, Nobukazu, 2003/02/27
[avr-gcc-list] Re: AVR223 for GCC, WAKAME, Nobukazu, 2003/02/25
Re: [avr-gcc-list] AVR223 for GCC, ramnath, 2003/02/27