--- In AVR-Chat@yahoogroups.com, "Bruce Parham" <obparham@...> wrote: > Is this a bug or should I keep reading? I don't see that in my copy. Perhaps I edited it but I don't recall doing so. The definitions for the vectors of the second UART are contained in the "else" part of a conditional where the initial test is for the mega644 (non-P version). Consequently, they will be present when compiling for the mega324P and mega644P. #if defined(__AVR_ATmega644__) # define _VECTORS_SIZE 112 #else /* !defined(__AVR_ATmega644__) */ /* USART1, Rx Complete */ /* USART1 RX complete */ #define USART1_RX_vect _VECTOR(28) #define SIG_USART1_RECV _VECTOR(28) /* USART1 Data register Empty */ /* USART1 Data Register Empty */ #define USART1_UDRE_vect _VECTOR(29) #define SIG_USART1_DATA _VECTOR(29) /* USART1, Tx Complete */ /* USART1 TX complete */ #define USART1_TX_vect _VECTOR(30) #define SIG_USART1_TRANS _VECTOR(30) # define _VECTORS_SIZE 124 #endif /* defined(__AVR_ATmega644__) */ Don Kinzer ZBasic Microcontrollers http://www.zbasic.net
Message
Re: WinAVR-20080610 header Bug?
2008-09-21 by Don Kinzer
Attachments
- No local attachments were found for this message.