aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/lfkeyboards/lfk65_hs/rules.mk
diff options
context:
space:
mode:
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