aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/hid_liber/Makefile.pjrc
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-25 00:01:30 +0900
committertmk <nobody@nowhere>2013-03-25 00:01:30 +0900
commitb862b4f030b447e067d307a548ed92182515404e (patch)
tree0569b9df79b2859aaed73e1373be670d710ed982 /keyboard/hid_liber/Makefile.pjrc
parent2b08a150a41e25e87362436b7307bb1be35529f3 (diff)
downloadfirmware-b862b4f030b447e067d307a548ed92182515404e.tar.gz
firmware-b862b4f030b447e067d307a548ed92182515404e.tar.bz2
firmware-b862b4f030b447e067d307a548ed92182515404e.zip
Fix hid_liber for new keymap framework by yeeeargh
Diffstat (limited to 'keyboard/hid_liber/Makefile.pjrc')
-rw-r--r--keyboard/hid_liber/Makefile.pjrc22
1 files changed, 17 insertions, 5 deletions
diff --git a/keyboard/hid_liber/Makefile.pjrc b/keyboard/hid_liber/Makefile.pjrc
index 8e349c8da..70ad47f29 100644
--- a/keyboard/hid_liber/Makefile.pjrc
+++ b/keyboard/hid_liber/Makefile.pjrc
@@ -71,14 +71,23 @@ MCU = atmega32u4 # Teensy 2.0
F_CPU = 16000000
+# Boot Section Size in bytes
+# Teensy halfKay 512
+# Atmel DFU loader 4096
+# LUFA bootloader 4096
+OPT_DEFS += -DBOOT_SIZE=4096
+
+
# Build Options
# comment out to disable the options.
#
-#MOUSEKEY_ENABLE = yes # Mouse keys
-#PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support
-EXTRAKEY_ENABLE = yes # Audio control and System control
-NKRO_ENABLE = yes # USB Nkey Rollover
-CONSOLE_ENABLE = yes # Console for debug
+BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
+#MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
+EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
+CONSOLE_ENABLE = yes # Console for debug(+400)
+COMMAND_ENABLE = yes # Commands for debug and configuration
+NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
+#PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support
# Search Path
@@ -88,3 +97,6 @@ VPATH += $(TOP_DIR)
include $(TOP_DIR)/protocol/pjrc.mk
include $(TOP_DIR)/common.mk
include $(TOP_DIR)/rules.mk
+
+custom: OPT_DEFS += -DKEYMAP_CUSTOM
+custom: all