Skip to content

Commit

Permalink
Fix for travis build on antique ubugtu
Browse files Browse the repository at this point in the history
Doesn't have proper defs for mega2560 !

Signed-off-by: Michel Pollet <[email protected]>
  • Loading branch information
buserror committed Feb 17, 2017
1 parent a37c1be commit e0d4de4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/atmega2560_uart_echo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e0d4de4

Please sign in to comment.