summaryrefslogtreecommitdiff
path: root/include.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include.mk')
-rw-r--r--include.mk82
1 files changed, 53 insertions, 29 deletions
diff --git a/include.mk b/include.mk
index ed329b6..5e5aa89 100644
--- a/include.mk
+++ b/include.mk
@@ -21,45 +21,69 @@
##
ifeq ($(BOARD_TYPE),teensy1)
-MCU := at90usb162
-F_CPU := 16000000
-PROG := teensy
+ MCU := at90usb162
+ F_CPU := 16000000
+ PROG := teensy
endif
ifeq ($(BOARD_TYPE),teensy2)
-MCU := atmega32u4
-F_CPU := 16000000
-PROG := teensy
+ MCU := atmega32u4
+ F_CPU := 16000000
+ PROG := teensy
endif
-ifeq ($(BOARD_TYPE),teensypp1)
-MCU := at90usb646
-F_CPU := 16000000
-PROG := teensy
+ifeq ($(BOARD_TYPE),teensy1pp)
+ MCU := at90usb646
+ F_CPU := 16000000
+ PROG := teensy
endif
-ifeq ($(BOARD_TYPE),teensypp2)
-MCU := at90usb1286
-F_CPU := 16000000
-PROG := teensy
+ifeq ($(BOARD_TYPE),teensy2pp)
+ MCU := at90usb1286
+ F_CPU := 16000000
+ PROG := teensy
endif
ifeq ($(BOARD_TYPE),hhd70dongle)
-MCU := atmega32u4
-F_CPU := 16000000
-PROG := DFU
+ MCU := atmega32u4
+ F_CPU := 16000000
+ PROG := DFU
+endif
+ifeq ($(BOARD_TYPE),arduinoUno)
+ MCU := atmega328p
+ F_CPU := 16000000
+ PROG := avrdude
+ UPLOAD_RATE := 57600
+ PROG_TYPE := stk500v1
+ AVRDUDE_PORT := /dev/ttyUSB0
+endif
+ifeq ($(BOARD_TYPE),arduino2009v2)
+ MCU := atmega328p
+ F_CPU := 16000000
+ PROG := avrdude
+ UPLOAD_RATE := 57600
+ PROG_TYPE := stk500v1
+ AVRDUDE_PORT := /dev/ttyUSB0
endif
ifeq ($(BOARD_TYPE),arduino2009)
-MCU := atmega168
-F_CPU := 16000000
-PROG := avrdude
-UPLOAD_RATE := 19200
-PROG_TYPE := stk500v1
-AVRDUDE_PORT := /dev/ttyUSB0
+ MCU := atmega168
+ F_CPU := 16000000
+ PROG := avrdude
+ UPLOAD_RATE := 19200
+ PROG_TYPE := stk500v1
+ AVRDUDE_PORT := /dev/ttyUSB0
+endif
+ifeq ($(BOARD_TYPE),arduino10000)
+ MCU := atmega168
+ F_CPU := 16000000
+ PROG := avrdude
+ UPLOAD_RATE := 19200
+ PROG_TYPE := stk500v1
+ AVRDUDE_PORT := /dev/ttyUSB0
endif
ifeq ($(BOARD_TYPE),arduinoNG)
-MCU := atmega8
-F_CPU := 16000000
-PROG := avrdude
-UPLOAD_RATE := 19200
-PROG_TYPE := stk500v1
-AVRDUDE_PORT := /dev/ttyUSB0
+ MCU := atmega8
+ F_CPU := 16000000
+ PROG := avrdude
+ UPLOAD_RATE := 19200
+ PROG_TYPE := stk500v1
+ AVRDUDE_PORT := /dev/ttyUSB0
endif
CC = avr-gcc