aboutsummaryrefslogtreecommitdiff
path: root/mcu/ATmega32U4.h
diff options
context:
space:
mode:
Diffstat (limited to 'mcu/ATmega32U4.h')
-rw-r--r--mcu/ATmega32U4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcu/ATmega32U4.h b/mcu/ATmega32U4.h
index acf3a24..16351e8 100644
--- a/mcu/ATmega32U4.h
+++ b/mcu/ATmega32U4.h
@@ -4,6 +4,7 @@
#include <avr/io.h>
// SPI
+#define MCUSUPPORT_SPI
#define DDR_SPI DDRB
#define DD_SS DDB0
#define DD_SCLK DDB1
@@ -14,3 +15,5 @@
#define PORT_SCLK PORTB1
#define PORT_MOSI PORTB2
#define PORT_MISO PORTB3
+// USART
+#define MCUSUPPORT_USART0