summaryrefslogtreecommitdiffstats
path: root/keyboards/lfkeyboards
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-10-25 07:50:13 +1100
committerDrashna Jaelre <drashna@live.com>2019-10-24 13:50:13 -0700
commite96cac0814995e2a0735708727cbab599d6cf5f1 (patch)
tree2f5da56d6701d171541a3813dd7a93d3e1d5073c /keyboards/lfkeyboards
parent335dd0271e344fec1a0f086b34da6f8ae0d8bd60 (diff)
Cleanup rules.mk for 32U4 keyboards, L-M (#7120)
* Cleanup rules.mk for 32U4 keyboards, L-M * Move some stuff to keyboard level
Diffstat (limited to 'keyboards/lfkeyboards')
-rw-r--r--keyboards/lfkeyboards/lfk65_hs/keymaps/default/rules.mk0
-rw-r--r--keyboards/lfkeyboards/lfk65_hs/rules.mk12
-rw-r--r--keyboards/lfkeyboards/lfkpad/rules.mk20
3 files changed, 11 insertions, 21 deletions
diff --git a/keyboards/lfkeyboards/lfk65_hs/keymaps/default/rules.mk b/keyboards/lfkeyboards/lfk65_hs/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/lfkeyboards/lfk65_hs/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/lfkeyboards/lfk65_hs/rules.mk b/keyboards/lfkeyboards/lfk65_hs/rules.mk
index 5118c35977..bfae80e0c7 100644
--- a/keyboards/lfkeyboards/lfk65_hs/rules.mk
+++ b/keyboards/lfkeyboards/lfk65_hs/rules.mk
@@ -6,15 +6,3 @@ BOOT_LOADER = BootloaderHID
# Extra source files for IS3731 lighting
SRC = TWIlib.c issi.c lighting.c
-
-# Processor frequency.
-F_CPU = 16000000
-
-# Target architecture (see library "Board Types" documentation).
-ARCH = AVR8
-
-# Input clock frequency.
-F_USB = $(F_CPU)
-
-# Interrupt driven control endpoint task(+60)
-OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
diff --git a/keyboards/lfkeyboards/lfkpad/rules.mk b/keyboards/lfkeyboards/lfkpad/rules.mk
index 83553f64cb..7ed840ae9f 100644
--- a/keyboards/lfkeyboards/lfkpad/rules.mk
+++ b/keyboards/lfkeyboards/lfkpad/rules.mk
@@ -1,14 +1,15 @@
-SRC = TWIlib.c issi.c lighting.c
-
+# MCU name
MCU = atmega32u4
-OPT_DEFS += -DBOOTLOADER_SIZE=4096
-F_CPU = 16000000
-F_USB = $(F_CPU)
-ARCH = AVR8
-
-# Interrupt driven control endpoint task(+60)
-OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
+# 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
LAYOUTS = numpad_6x4
@@ -31,6 +32,7 @@ TAP_DANCE_ENABLE = no
ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
+SRC = TWIlib.c issi.c lighting.c
ifeq ($(strip $(ISSI_ENABLE)), yes)
TMK_COMMON_DEFS += -DISSI_ENABLE