summaryrefslogtreecommitdiff
path: root/digital/avr/modules
diff options
context:
space:
mode:
authorNicolas Schodet2011-05-05 23:09:19 +0200
committerNicolas Schodet2011-05-05 23:09:19 +0200
commitf40ae7cb90faff71daaebe3d4c011002339a3834 (patch)
treef5ba227dd06031a288a7c8520c13df8619aac507 /digital/avr/modules
parentf490ee060442542df0d4abc082bdec6f295dbc38 (diff)
digital/avr, digital/ai: add AT90USB1287 support
Diffstat (limited to 'digital/avr/modules')
-rw-r--r--digital/avr/modules/twi/twi_hard.avr.c6
-rw-r--r--digital/avr/modules/uart/uart.avr.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/digital/avr/modules/twi/twi_hard.avr.c b/digital/avr/modules/twi/twi_hard.avr.c
index ff65d31e..8bd18d34 100644
--- a/digital/avr/modules/twi/twi_hard.avr.c
+++ b/digital/avr/modules/twi/twi_hard.avr.c
@@ -56,6 +56,10 @@
# if defined (__AVR_ATmega32__)
# elif defined (__AVR_ATmega64__)
# elif defined (__AVR_ATmega128__)
+# elif defined (__AVR_AT90USB646__)
+# elif defined (__AVR_AT90USB647__)
+# elif defined (__AVR_AT90USB1286__)
+# elif defined (__AVR_AT90USB1287__)
# else
# error "twi: not tested on this chip"
# endif
@@ -201,7 +205,7 @@ twi_master_wait (void)
# endif /* AC_TWI_MASTER_ENABLE */
-SIGNAL (SIG_2WIRE_SERIAL)
+SIGNAL (TWI_vect)
{
# if AC_TWI_SLAVE_ENABLE
/** Slave work buffer. */
diff --git a/digital/avr/modules/uart/uart.avr.c b/digital/avr/modules/uart/uart.avr.c
index e3ffb18c..359f9002 100644
--- a/digital/avr/modules/uart/uart.avr.c
+++ b/digital/avr/modules/uart/uart.avr.c
@@ -39,6 +39,10 @@
#elif defined (__AVR_ATmega64__)
#elif defined (__AVR_ATmega128__)
#elif defined (__AVR_AT90USB162__)
+#elif defined (__AVR_AT90USB646__)
+#elif defined (__AVR_AT90USB647__)
+#elif defined (__AVR_AT90USB1286__)
+#elif defined (__AVR_AT90USB1287__)
#else
# warning "uart: not tested on this chip"
#endif