From: Michel Pollet Date: Fri, 17 Feb 2017 10:23:04 +0000 (+0000) Subject: Fix for travis build on antique ubugtu X-Git-Tag: v1.5 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=e0d4de41a72520491a4076b3ed87beb997a395c0;p=sx%2Fsimavr.git Fix for travis build on antique ubugtu Doesn't have proper defs for mega2560 ! Signed-off-by: Michel Pollet --- diff --git a/tests/atmega2560_uart_echo.c b/tests/atmega2560_uart_echo.c index c2132e8..fe67acc 100644 --- a/tests/atmega2560_uart_echo.c +++ b/tests/atmega2560_uart_echo.c @@ -37,7 +37,9 @@ const struct avr_mmcu_vcd_trace_t _mytrace[] _MMCU_ = { { AVR_MCU_VCD_SYMBOL("UDRE3"), .mask = (1 << UDRE3), .what = (void*)&UCSR3A, }, { AVR_MCU_VCD_SYMBOL("GPIOR1"), .what = (void*)&GPIOR1, }, }; +#ifdef USART3_RX_vect_num // stupid ubuntu has antique avr-libc AVR_MCU_VCD_IRQ(USART3_RX); // single bit trace +#endif AVR_MCU_VCD_ALL_IRQ(); // also show ALL irqs running volatile uint8_t cnt = 0;