From 1a48da647e9af1e98b0e0b3cc6bf2eeac2858cb8 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 23 Jul 2019 20:02:32 -0700 Subject: [PATCH] add rules and config to decrease size --- layouts/community/planck_mit/don/config.h | 2 ++ layouts/community/planck_mit/don/rules.mk | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 layouts/community/planck_mit/don/config.h create mode 100644 layouts/community/planck_mit/don/rules.mk diff --git a/layouts/community/planck_mit/don/config.h b/layouts/community/planck_mit/don/config.h new file mode 100644 index 000000000..051af7607 --- /dev/null +++ b/layouts/community/planck_mit/don/config.h @@ -0,0 +1,2 @@ +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION diff --git a/layouts/community/planck_mit/don/rules.mk b/layouts/community/planck_mit/don/rules.mk new file mode 100644 index 000000000..a1fac0362 --- /dev/null +++ b/layouts/community/planck_mit/don/rules.mk @@ -0,0 +1,23 @@ + +# Build Options +# change to "no" to disable the options, or define them in the Makefile in +# the appropriate keymap folder that will get included automatically +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) +MOUSEKEY_ENABLE = yes # Mouse keys(+4700) +EXTRAKEY_ENABLE = yes # Audio control and System control(+450) +CONSOLE_ENABLE = no # Console for debug(+400) +COMMAND_ENABLE = no # Commands for debug and configuration +NKRO_ENABLE = yes # 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 = no # MIDI controls +AUDIO_ENABLE = yes # Audio output on port C6 +UNICODE_ENABLE = yes # Unicode +BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID +RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. + +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend + +EXTRAFLAGS += -flto + -- 2.39.5