summaryrefslogtreecommitdiff
path: root/defines.mk
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-11-29 22:40:15 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-11-29 22:40:15 +0100
commit39f70772e05892ba97f78e6a375ab4a6b1930ccc (patch)
treec12190e2f95f6414efe4321ef45e6652a273fec0 /defines.mk
parentremove -fpack-struct since this does nothing on AVR anyway (8bit platform) (diff)
added feather32u4lora board
Diffstat (limited to 'defines.mk')
-rw-r--r--defines.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/defines.mk b/defines.mk
index 3cb82db..f04496f 100644
--- a/defines.mk
+++ b/defines.mk
@@ -145,6 +145,19 @@ ifeq ($(BOARD_TYPE),feather32u4)
PROG_TYPE := avr109
AVRDUDE_PORT := /dev/ttyACM0
LUFA_BOARD = NONE
+ ARDUINO_PINS = leonardo
+endif
+ifeq ($(BOARD_TYPE),feather32u4lora)
+ 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
+ ARDUINO_PINS = leonardo
endif
ifeq ($(BOARD_TYPE),elecrow32u4lora)
MCU := atmega32u4