summaryrefslogtreecommitdiff
path: root/defines.mk
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-09-12 19:16:48 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-09-12 19:16:48 +0200
commit703b09b73787d6248d3815b9eb9160efa8ebfe00 (patch)
tree7dea392d14c1ebca386f7f2010fec0385ebab110 /defines.mk
parentupdated copyright header and some whitespace fixes (diff)
add support for sparkfun ProMicro
Diffstat (limited to 'defines.mk')
-rw-r--r--defines.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/defines.mk b/defines.mk
index 3238e1b..56fe4bf 100644
--- a/defines.mk
+++ b/defines.mk
@@ -171,6 +171,15 @@ ifeq ($(BOARD_TYPE),elecrow32u4lora)
LUFA_BOARD = NONE
ARDUINO_PINS = leonardo
endif
+ifeq ($(BOARD_TYPE),sparkfunProMicro)
+ MCU := atmega32u4
+ ARCH = AVR8
+ F_CPU := 16000000
+ F_USB = $(F_CPU)
+ PROG := DFU
+ LUFA_BOARD = NONE
+ ARDUINO_PINS = leonardo
+endif
ifeq ($(BOARD_TYPE),arduinoProMicro)
MCU := atmega32u4
ARCH = AVR8