summaryrefslogtreecommitdiff
path: root/keyboard/planck/Makefile
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-24 19:31:12 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-24 19:31:12 -0400
commitcda23c754e4d16438e2b42d86b4ce9a1eadc03d7 (patch)
treee9a0a1a0c848f215abd3f00bdbd43951b07ea98a /keyboard/planck/Makefile
parentb8425e8b58db204e700589e6f37d647515d33034 (diff)
midi working
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r--keyboard/planck/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile
index 9f7634d993..8c357f4b0a 100644
--- a/keyboard/planck/Makefile
+++ b/keyboard/planck/Makefile
@@ -116,17 +116,21 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096
# comment out to disable the options.
#
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
+# 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
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
#SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
-NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
+# NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-#MIDI_ENABLE = YES # MIDI controls
+# MIDI_ENABLE = YES # MIDI controls
BACKLIGHT_ENABLE = yes
+ifdef MIDI_ENABLE
+ SRC += keymap_midi.c
+endif
+
# Optimize size but this may cause error "relocation truncated to fit"
#EXTRALDFLAGS = -Wl,--relax