aboutsummaryrefslogtreecommitdiff
path: root/mcu/ATmega8A.h
diff options
context:
space:
mode:
Diffstat (limited to 'mcu/ATmega8A.h')
-rw-r--r--mcu/ATmega8A.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcu/ATmega8A.h b/mcu/ATmega8A.h
index 1ded665..a2d3adf 100644
--- a/mcu/ATmega8A.h
+++ b/mcu/ATmega8A.h
@@ -3,6 +3,7 @@
#include <avr/io.h>
// SPI
+#define MCUSUPPORT_SPI
#define DDR_SPI DDRB
#define DD_SS DDB2
#define DD_SCLK DDB5
@@ -13,3 +14,5 @@
#define PORT_SCLK PORTB5
#define PORT_MOSI PORTB3
#define PORT_MISO PORTB4
+// USART
+#define MCUSUPPORT_USART0