]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
add rules and config to decrease size
authorDon Armstrong <don@donarmstrong.com>
Wed, 24 Jul 2019 03:02:32 +0000 (20:02 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 24 Dec 2019 16:53:57 +0000 (08:53 -0800)
layouts/community/planck_mit/don/config.h [new file with mode: 0644]
layouts/community/planck_mit/don/rules.mk [new file with mode: 0644]

diff --git a/layouts/community/planck_mit/don/config.h b/layouts/community/planck_mit/don/config.h
new file mode 100644 (file)
index 0000000..051af76
--- /dev/null
@@ -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 (file)
index 0000000..a1fac03
--- /dev/null
@@ -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
+