summaryrefslogtreecommitdiff
path: root/keyboard/planck/Makefile
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-01-23 20:34:05 -0500
committerJack Humbert <jack.humb@gmail.com>2016-01-23 20:34:05 -0500
commit5143c59bdff8e0b8cb896b905ab643ab8293ea47 (patch)
tree7082bac0facec617715d55deddca2b448ad880fa /keyboard/planck/Makefile
parent544a49329cac78206c0d195f2e7bfd39db05507d (diff)
parentc753bfcc144e4158a1e683c2c93b32667dc08388 (diff)
downloadqmk_firmware-5143c59bdff8e0b8cb896b905ab643ab8293ea47.tar.gz
qmk_firmware-5143c59bdff8e0b8cb896b905ab643ab8293ea47.zip
Merge branch 'audio' of https://github.com/jackhumbert/tmk_keyboard into smarkefile
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r--keyboard/planck/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile
index 16d462b699..dece6a7f17 100644
--- a/keyboard/planck/Makefile
+++ b/keyboard/planck/Makefile
@@ -50,8 +50,7 @@ TMK_DIR = ../../tmk_core
TARGET_DIR = .
# # project specific files
-SRC = planck.c \
- backlight.c
+SRC = planck.c
ifdef keymap
KEYMAP = $(keymap)
@@ -139,11 +138,15 @@ 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 - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-# MIDI_ENABLE = YES # MIDI controls
+# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
+MIDI_ENABLE = YES # MIDI controls
+AUDIO_ENABLE = YES # Audio output on port C6
# UNICODE_ENABLE = YES # Unicode
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
+ifdef BACKLIGHT_ENABLE
+ SRC += backlight.c
+endif
# Optimize size but this may cause error "relocation truncated to fit"
#EXTRALDFLAGS = -Wl,--relax