summaryrefslogtreecommitdiffstats
path: root/keyboards/lfkeyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lfkeyboards')
-rw-r--r--keyboards/lfkeyboards/lfk78/rules.mk4
-rw-r--r--keyboards/lfkeyboards/lfk87/rules.mk7
-rw-r--r--keyboards/lfkeyboards/mini1800/rules.mk7
-rw-r--r--keyboards/lfkeyboards/smk65/rules.mk12
4 files changed, 18 insertions, 12 deletions
diff --git a/keyboards/lfkeyboards/lfk78/rules.mk b/keyboards/lfkeyboards/lfk78/rules.mk
index b9cdf23076..3c90998d98 100644
--- a/keyboards/lfkeyboards/lfk78/rules.mk
+++ b/keyboards/lfkeyboards/lfk78/rules.mk
@@ -7,14 +7,12 @@ LFK_REV = J
ifeq ($(LFK_REV), B)
MCU = atmega32u4
- OPT_DEFS += -DBOOTLOADER_SIZE=4096
else ifeq ($(LFK_REV), J)
MCU = at90usb646
- OPT_DEFS += -DBOOTLOADER_SIZE=4096
else
MCU = at90usb1286
- OPT_DEFS += -DBOOTLOADER_SIZE=8192
endif
+BOOTLOADER = atmel-dfu
OPT_DEFS += -DLFK_REV_$(LFK_REV)
OPT_DEFS += -DLFK_REV_STRING=\"Rev$(LFK_REV)\"
diff --git a/keyboards/lfkeyboards/lfk87/rules.mk b/keyboards/lfkeyboards/lfk87/rules.mk
index bc96e3520e..8e19706150 100644
--- a/keyboards/lfkeyboards/lfk87/rules.mk
+++ b/keyboards/lfkeyboards/lfk87/rules.mk
@@ -7,12 +7,11 @@
LFK_REV = C
ifeq ($(LFK_REV), A)
- MCU = at90usb1286
- OPT_DEFS += -DBOOTLOADER_SIZE=8192
+ MCU = at90usb1286
else
- MCU = at90usb646
- OPT_DEFS += -DBOOTLOADER_SIZE=4096
+ MCU = at90usb646
endif
+BOOTLOADER = atmel-dfu
OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
# Extra source files for IS3731 lighting
diff --git a/keyboards/lfkeyboards/mini1800/rules.mk b/keyboards/lfkeyboards/mini1800/rules.mk
index a06225491f..d3e6a24023 100644
--- a/keyboards/lfkeyboards/mini1800/rules.mk
+++ b/keyboards/lfkeyboards/mini1800/rules.mk
@@ -8,12 +8,11 @@
LFK_REV = C
ifeq ($(LFK_REV), A)
- MCU = at90usb1286
- OPT_DEFS += -DBOOTLOADER_SIZE=8192
+ MCU = at90usb1286
else
- MCU = at90usb646
- OPT_DEFS += -DBOOTLOADER_SIZE=4096
+ MCU = at90usb646
endif
+BOOTLOADER = atmel-dfu
OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
# Extra source files for IS3731 lighting
diff --git a/keyboards/lfkeyboards/smk65/rules.mk b/keyboards/lfkeyboards/smk65/rules.mk
index 5834cf5c3a..d3f009e4d2 100644
--- a/keyboards/lfkeyboards/smk65/rules.mk
+++ b/keyboards/lfkeyboards/smk65/rules.mk
@@ -1,5 +1,15 @@
+# MCU name
MCU = at90usb646
-OPT_DEFS += -DBOOTLOADER_SIZE=4096
+
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
+BOOTLOADER = atmel-dfu
# Extra source files for IS3731 lighting
SRC = TWIlib.c issi.c lighting.c