aboutsummaryrefslogtreecommitdiffstats
path: root/users
diff options
context:
space:
mode:
authorDaniel Shields <1530706+shieldsd@users.noreply.github.com>2019-10-25 19:16:46 +0100
committerJoel Challis <git@zvecr.com>2019-10-25 19:16:46 +0100
commit0f30a4d2ca7a7fa1eea54aa10104b5114d0b3f96 (patch)
treee81c054b4f9ae65a6f67b9fe5e021959ccd696bc /users
parent32fdf4805ae8d76649fa821275cc2333c5e8bba9 (diff)
downloadfirmware-0f30a4d2ca7a7fa1eea54aa10104b5114d0b3f96.tar.gz
firmware-0f30a4d2ca7a7fa1eea54aa10104b5114d0b3f96.tar.bz2
firmware-0f30a4d2ca7a7fa1eea54aa10104b5114d0b3f96.zip
Save a few bytes with build options and rgb effect removal. (#7149)
Diffstat (limited to 'users')
-rw-r--r--users/dshields/config.h41
-rw-r--r--users/dshields/rules.mk4
2 files changed, 45 insertions, 0 deletions
diff --git a/users/dshields/config.h b/users/dshields/config.h
index 17eb98bd4..d92f787e4 100644
--- a/users/dshields/config.h
+++ b/users/dshields/config.h
@@ -13,3 +13,44 @@
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
+#define DISABLE_RGB_MATRIX_ALPHAS_MODS
+#define DISABLE_RGB_MATRIX_BREATHING
+#define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
+#define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
+#define DISABLE_RGB_MATRIX_BAND_SAT
+#define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT
+#define DISABLE_RGB_MATRIX_BAND_SPIRAL_VAL
+#define DISABLE_RGB_MATRIX_BAND_VAL
+#define DISABLE_RGB_MATRIX_CYCLE_ALL
+#define DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
+#define DISABLE_RGB_MATRIX_CYCLE_OUT_IN
+#define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
+#define DISABLE_RGB_MATRIX_CYCLE_PINWHEEL
+#define DISABLE_RGB_MATRIX_CYCLE_SPIRAL
+#define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN
+#define DISABLE_RGB_MATRIX_DUAL_BEACON
+#define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
+#define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
+#define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
+#define DISABLE_RGB_MATRIX_SOLID_SPLASH
+#define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
+#define DISABLE_RGB_MATRIX_SOLID_SPLASH
+#define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
+#define DISABLE_RGB_MATRIX_SPLASH
+#define DISABLE_RGB_MATRIX_MULTISPLASH
+#define DISABLE_RGB_MATRIX_SPLASH
+#define DISABLE_RGB_MATRIX_MULTISPLASH
diff --git a/users/dshields/rules.mk b/users/dshields/rules.mk
index 06f6e5e9f..8a7c82cd4 100644
--- a/users/dshields/rules.mk
+++ b/users/dshields/rules.mk
@@ -6,6 +6,10 @@ CONSOLE_ENABLE = no # Console for debug(+400)
EXTRAKEY_ENABLE = no
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
API_SYSEX_ENABLE = no
+SPACE_CADET_ENABLE = no
+LEADER_ENABLE = no
+
+LINK_TIME_OPTIMIZATION_ENABLE = yes
ifeq ($(strip $(KEYBOARD)), planck/rev3)
AUDIO_ENABLE = no