projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
a37c1be
)
Commit
e0d4de41a72520491a4076b3ed87beb997a395c0
v1.5
author
Michel Pollet
<buserror@gmail.com>
Fri, 17 Feb 2017 10:23:04 +0000
(10:23 +0000)
committer
Michel Pollet
<buserror@gmail.com>
Fri, 17 Feb 2017 10:23:04 +0000
(10:23 +0000)
Doesn't have proper defs for mega2560 !
Signed-off-by: Michel Pollet <buserror@gmail.com>
tests/atmega2560_uart_echo.c
patch
|
blob
|
history
|
download
diff --git
a/tests/atmega2560_uart_echo.c
b/tests/atmega2560_uart_echo.c
index c2132e877f5ca5b2a7cc5970cdc25dc900f5b2aa..fe67acc82198aef1bb2657ec4b3be61590ca4894 100644
(file)
--- 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;