summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-11-16 17:45:06 -0800
committerGitHub <noreply@github.com>2021-11-16 17:45:06 -0800
commit9ca0cd81bf8a14c60a0957137d0cb94d9b07aaf8 (patch)
tree50a05da467813dfa34174858cf35dafe9f9ee07f /keyboards
parent6f3861fac537a9424f8b8a7b735f1afafe9b4755 (diff)
[Keyboard] Fix handful of boards compiling too large due to RGB matrix changes (#15184)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/dztech/dz60rgb_ansi/v2/rules.mk2
-rwxr-xr-xkeyboards/melgeek/mojo68/config.h5
-rw-r--r--keyboards/work_louder/loop/rules.mk1
3 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/dztech/dz60rgb_ansi/v2/rules.mk b/keyboards/dztech/dz60rgb_ansi/v2/rules.mk
index 41fdb211ed..8318468880 100644
--- a/keyboards/dztech/dz60rgb_ansi/v2/rules.mk
+++ b/keyboards/dztech/dz60rgb_ansi/v2/rules.mk
@@ -22,3 +22,5 @@ AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes # Use RGB matrix
RGB_MATRIX_DRIVER = IS31FL3733
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
+
+LTO_ENABLE = yes
diff --git a/keyboards/melgeek/mojo68/config.h b/keyboards/melgeek/mojo68/config.h
index 29f25874de..15ea1a58b4 100755
--- a/keyboards/melgeek/mojo68/config.h
+++ b/keyboards/melgeek/mojo68/config.h
@@ -70,9 +70,8 @@
# define ENABLE_RGB_MATRIX_HUE_BREATHING
# define ENABLE_RGB_MATRIX_HUE_PENDULUM
# define ENABLE_RGB_MATRIX_HUE_WAVE
-# define ENABLE_RGB_MATRIX_PIXEL_RAIN
-# define ENABLE_RGB_MATRIX_PIXEL_FLOW
-# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
+// # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
+// # define ENABLE_RGB_MATRIX_PIXEL_RAIN
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
diff --git a/keyboards/work_louder/loop/rules.mk b/keyboards/work_louder/loop/rules.mk
index 0bad9d2d50..c0151377ed 100644
--- a/keyboards/work_louder/loop/rules.mk
+++ b/keyboards/work_louder/loop/rules.mk
@@ -22,5 +22,6 @@ AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
+LTO_ENABLE = yes
SRC += encoder_actions.c rgb_functions.c