diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-01-20 06:06:52 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-01-20 06:06:52 +0100 |
commit | eb61700912f1713ba27d34c23d7f07be66ee6513 (patch) | |
tree | 7781c85a3e67a3af34a31a09d6736f07b6a492fe /keyboard/planck/Makefile | |
parent | 6e3c36360ed291b9ca2bd014571236308a933d0c (diff) | |
download | qmk_firmware-eb61700912f1713ba27d34c23d7f07be66ee6513.tar.gz qmk_firmware-eb61700912f1713ba27d34c23d7f07be66ee6513.tar.xz |
better integrations
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r-- | keyboard/planck/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile index fdf8c1640..7b06446d7 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 SRC := keymaps/keymap_$(KEYMAP).c $(SRC) @@ -124,9 +123,13 @@ COMMAND_ENABLE = yes # Commands for debug and configuration # 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 +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 |