diff options
author | fauxpark <fauxpark@gmail.com> | 2019-09-20 02:55:03 +1000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-09-19 09:55:03 -0700 |
commit | f34299efd7c5be439b0991d46c26de6c8709a2d9 (patch) | |
tree | 16f0ad27a74857fc0bca45e0c8f17e34303360a2 /keyboards/lfkeyboards | |
parent | 911b8915cc89c040db3c6075a1a547003b0ab37f (diff) | |
download | qmk_firmware-f34299efd7c5be439b0991d46c26de6c8709a2d9.tar.gz qmk_firmware-f34299efd7c5be439b0991d46c26de6c8709a2d9.zip |
Cleanup rules.mk for USB64 and USB128 keyboards (#6769)
Diffstat (limited to 'keyboards/lfkeyboards')
-rw-r--r-- | keyboards/lfkeyboards/lfk78/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/lfkeyboards/lfk87/rules.mk | 7 | ||||
-rw-r--r-- | keyboards/lfkeyboards/mini1800/rules.mk | 7 | ||||
-rw-r--r-- | keyboards/lfkeyboards/smk65/rules.mk | 12 |
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 |