aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/lfkeyboards/lfk65_hs/rules.mk
diff options
context:
space:
mode:
authorGravatar scott-t-wilson <scott.t.wilson@gmail.com>2018-07-18 12:54:49 -0400
committerGravatar Drashna Jaelre <drashna@live.com>2018-07-18 09:54:49 -0700
commit7e9a7af672ab226cc57f05f362d6b1e965ac56e6 (patch)
tree716cbc57e8f9b0e0b816d805f3f00743ba245d91 /keyboards/lfkeyboards/lfk65_hs/rules.mk
parent11773a5546e67e38b004ecbfd945059c662d0f47 (diff)
downloadqmk_firmware-7e9a7af672ab226cc57f05f362d6b1e965ac56e6.tar.gz
Keyboard: Add support for LFK65-HS - a hotswap 65% (#3009)
* Add support for LFK65-HS - a hotswap 65% * Add info.json for LFK65-HS * Clean up for new build system, remove uneeded code. * LFK65-HS cleanup. Fixed LAYOUT macros, etc
Diffstat (limited to 'keyboards/lfkeyboards/lfk65_hs/rules.mk')
-rw-r--r--keyboards/lfkeyboards/lfk65_hs/rules.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/lfkeyboards/lfk65_hs/rules.mk b/keyboards/lfkeyboards/lfk65_hs/rules.mk
new file mode 100644
index 000000000..5118c3597
--- /dev/null
+++ b/keyboards/lfkeyboards/lfk65_hs/rules.mk
@@ -0,0 +1,20 @@
+MCU = atmega32u4
+OPT_DEFS += -DBOOTLOADER_SIZE=4096
+FLASH_SIZE_KB = 32
+BOOT_SECTION_SIZE_KB = 4
+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