diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-05-20 15:57:23 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-05-20 15:57:23 +0000 |
commit | dc2c93c43950586099a30ea46cf33efd5cfe147c (patch) | |
tree | e19f95790af1c95826a84eb4e7efc2e8a8c11b8a /include.mk | |
parent | added support for arduinoNG (diff) |
added support for arduino2009v2, arduino10000, arduinoUno
git-svn-id: https://svn.spreadspace.org/avr/trunk@20 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'include.mk')
-rw-r--r-- | include.mk | 82 |
1 files changed, 53 insertions, 29 deletions
@@ -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 |