Add Arduino Micro and Arduino Uno

This commit is contained in:
Jeremy Soller
2019-09-29 21:20:03 -06:00
parent abd457ba73
commit e3aa21cae4
11 changed files with 96 additions and 3 deletions

View File

@ -19,7 +19,11 @@
_BV(UCSZ ## N ## 1) | _BV(UCSZ ## N ## 0) \
}
#if defined(__AVR_ATmega32U4__)
#if defined(__AVR_ATmega328P__)
static struct Uart UARTS[] = {
UART(0)
};
#elif defined(__AVR_ATmega32U4__)
static struct Uart UARTS[] = {
UART(1)
};