Well I have a partial solution.
after line 107
in uart.h add
defined(__AVR_ATmega328P__) || \
This compiles but I am getting a warning that I will be sorting out soon
Kirk
Instead of adding the above (defined(__AVR_ATmega328P__) || \), insert this at line 23 of uart.h:
#if defined(__AVR_ATmega328P__)
#define UDR UDR0
#define UCR UCSR0B
#define RXCIE RXCIE0
#define TXCIE TXCIE0
#define RXC RXC0
#define TXC TXC0
#define RXEN RXEN0
#define TXEN TXEN0
#define UBRRL UBRR0L
#define UBRRH UBRR0H
#define SIG_UART_TRANS USART_TX_vect
#define SIG_UART_RECV USART_RX_vect
#define SIG_UART_DATA SIG_USART_DATA
#endif
That should clear up the warnings, haven't tested it on hardware though.