summaryrefslogtreecommitdiff
path: root/defines.mk
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-11-05 18:20:16 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-11-05 18:20:19 +0100
commit2f2262229ec3c7559ef34f004e2a0946ad281b58 (patch)
tree0f4e5641d602ce8da870924f7b81317d488849b4 /defines.mk
parentcall reset function @ run (diff)
added support for Adafruit Feather 32u4
Diffstat (limited to 'defines.mk')
-rw-r--r--defines.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/defines.mk b/defines.mk
index 3ac16ac..947fe98 100644
--- a/defines.mk
+++ b/defines.mk
@@ -135,6 +135,17 @@ ifeq ($(BOARD_TYPE),rhmixxx)
PROG := DFU
LUFA_BOARD = NONE
endif
+ifeq ($(BOARD_TYPE),feather32u4)
+ MCU := atmega32u4
+ ARCH = AVR8
+ F_CPU := 8000000
+ F_USB = $(F_CPU)
+ PROG := avrdude
+ UPLOAD_RATE := 57600
+ PROG_TYPE := avr109
+ AVRDUDE_PORT := /dev/ttyACM0
+ LUFA_BOARD = NONE
+endif
ifeq ($(BOARD_TYPE),arduinoProMicro)
MCU := atmega32u4
ARCH = AVR8