diff options
author | Drashna Jaelre <drashna@live.com> | 2021-07-26 19:41:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 12:41:28 +1000 |
commit | 3affdcb45b51641b2a5d918c69f3afe2b2f5c757 (patch) | |
tree | 5682bd4000f19823dd5f2b64a9f850b8af4deb8a | |
parent | e032fbe3265426aa4779a4b4bed384bba43b815f (diff) | |
download | qmk_firmware-3affdcb45b51641b2a5d918c69f3afe2b2f5c757.tar.gz qmk_firmware-3affdcb45b51641b2a5d918c69f3afe2b2f5c757.zip |
Reduce firmware size in prep for #12670 (#13724)
* Reduce firmware size in pre for #12670
* Also disable pixel mode, just in case
-rw-r--r-- | keyboards/bm40hsrgb/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/dztech/dz60rgb/keymaps/via/config.h | 21 | ||||
-rw-r--r-- | keyboards/dztech/dz65rgb/keymaps/via/config.h | 21 | ||||
-rw-r--r-- | keyboards/handwired/colorlice/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/handwired/p65rgb/rules.mk | 10 | ||||
-rw-r--r-- | keyboards/latin6rgb/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/latinpad/config.h | 6 | ||||
-rw-r--r-- | keyboards/latinpad/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/mt84/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/percent/canoe_gen2/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/ungodly/launch_pad/config.h | 3 | ||||
-rw-r--r-- | keyboards/yncognito/batpad/keymaps/via/rules.mk | 1 |
12 files changed, 55 insertions, 18 deletions
diff --git a/keyboards/bm40hsrgb/keymaps/via/rules.mk b/keyboards/bm40hsrgb/keymaps/via/rules.mk index 1e5b99807..36b7ba9cb 100644 --- a/keyboards/bm40hsrgb/keymaps/via/rules.mk +++ b/keyboards/bm40hsrgb/keymaps/via/rules.mk | |||
@@ -1 +1,2 @@ | |||
1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/dztech/dz60rgb/keymaps/via/config.h b/keyboards/dztech/dz60rgb/keymaps/via/config.h new file mode 100644 index 000000000..1beb7130f --- /dev/null +++ b/keyboards/dztech/dz60rgb/keymaps/via/config.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* Copyright 2021 DZTECH <moyi4681@live.cn> | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | #define DISABLE_RGB_MATRIX_PIXEL_FLOW | ||
20 | #define DISABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
21 | #define DISABLE_RGB_MATRIX_PIXEL_RAIN | ||
diff --git a/keyboards/dztech/dz65rgb/keymaps/via/config.h b/keyboards/dztech/dz65rgb/keymaps/via/config.h new file mode 100644 index 000000000..1beb7130f --- /dev/null +++ b/keyboards/dztech/dz65rgb/keymaps/via/config.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* Copyright 2021 DZTECH <moyi4681@live.cn> | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | #define DISABLE_RGB_MATRIX_PIXEL_FLOW | ||
20 | #define DISABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
21 | #define DISABLE_RGB_MATRIX_PIXEL_RAIN | ||
diff --git a/keyboards/handwired/colorlice/rules.mk b/keyboards/handwired/colorlice/rules.mk index 077b197ef..6deb00b63 100644 --- a/keyboards/handwired/colorlice/rules.mk +++ b/keyboards/handwired/colorlice/rules.mk | |||
@@ -28,7 +28,7 @@ MIDI_ENABLE = no # MIDI support | |||
28 | UNICODE_ENABLE = no # Unicode | 28 | UNICODE_ENABLE = no # Unicode |
29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
30 | AUDIO_ENABLE = no # Audio output on port C6 | 30 | AUDIO_ENABLE = no # Audio output on port C6 |
31 | LTO_ENABLE = no # Use link time optimization | 31 | LTO_ENABLE = yes # Use link time optimization |
32 | RGB_MATRIX_ENABLE = yes | 32 | RGB_MATRIX_ENABLE = yes |
33 | RGB_MATRIX_DRIVER = WS2812 | 33 | RGB_MATRIX_DRIVER = WS2812 |
34 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 34 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
diff --git a/keyboards/handwired/p65rgb/rules.mk b/keyboards/handwired/p65rgb/rules.mk index 00d15f090..792f066b7 100644 --- a/keyboards/handwired/p65rgb/rules.mk +++ b/keyboards/handwired/p65rgb/rules.mk | |||
@@ -2,19 +2,12 @@ | |||
2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
3 | 3 | ||
4 | # Bootloader selection | 4 | # Bootloader selection |
5 | # Teensy halfkay | ||
6 | # Pro Micro caterina | ||
7 | # Atmel DFU atmel-dfu | ||
8 | # LUFA DFU lufa-dfu | ||
9 | # QMK DFU qmk-dfu | ||
10 | # ATmega32A bootloadHID | ||
11 | # ATmega328P USBasp | ||
12 | BOOTLOADER = qmk-dfu | 5 | BOOTLOADER = qmk-dfu |
13 | 6 | ||
14 | # Build Options | 7 | # Build Options |
15 | # change yes to no to disable | 8 | # change yes to no to disable |
16 | # | 9 | # |
17 | BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
18 | MOUSEKEY_ENABLE = yes # Mouse keys | 11 | MOUSEKEY_ENABLE = yes # Mouse keys |
19 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
20 | CONSOLE_ENABLE = no # Console for debug | 13 | CONSOLE_ENABLE = no # Console for debug |
@@ -30,3 +23,4 @@ RGB_MATRIX_DRIVER = WS2812 | |||
30 | MIDI_ENABLE = no # MIDI support | 23 | MIDI_ENABLE = no # MIDI support |
31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 24 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
32 | AUDIO_ENABLE = no # Audio output on port C6 | 25 | AUDIO_ENABLE = no # Audio output on port C6 |
26 | LTO_ENABLE = yes | ||
diff --git a/keyboards/latin6rgb/rules.mk b/keyboards/latin6rgb/rules.mk index 4a162d97b..e1968aa1c 100644 --- a/keyboards/latin6rgb/rules.mk +++ b/keyboards/latin6rgb/rules.mk | |||
@@ -10,7 +10,7 @@ BOOTLOADER = atmel-dfu | |||
10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
11 | MOUSEKEY_ENABLE = yes # Mouse keys | 11 | MOUSEKEY_ENABLE = yes # Mouse keys |
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
13 | CONSOLE_ENABLE = yes # Console for debug | 13 | CONSOLE_ENABLE = no # Console for debug |
14 | COMMAND_ENABLE = no # Commands for debug and configuration | 14 | COMMAND_ENABLE = no # Commands for debug and configuration |
15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
diff --git a/keyboards/latinpad/config.h b/keyboards/latinpad/config.h index ed2fcdf9a..6c887ab07 100644 --- a/keyboards/latinpad/config.h +++ b/keyboards/latinpad/config.h | |||
@@ -44,12 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/ | |||
44 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 44 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
45 | //#define MATRIX_HAS_GHOST | 45 | //#define MATRIX_HAS_GHOST |
46 | 46 | ||
47 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
48 | #define LOCKING_SUPPORT_ENABLE | ||
49 | /* Locking resynchronize hack */ | ||
50 | #define LOCKING_RESYNC_ENABLE | ||
51 | |||
52 | |||
53 | #define OLED_FONT_H "./lib/glcdfont.c" | 47 | #define OLED_FONT_H "./lib/glcdfont.c" |
54 | 48 | ||
55 | #define ENCODERS_PAD_A { B4, B5 } | 49 | #define ENCODERS_PAD_A { B4, B5 } |
diff --git a/keyboards/latinpad/keymaps/via/rules.mk b/keyboards/latinpad/keymaps/via/rules.mk index 1e5b99807..36b7ba9cb 100644 --- a/keyboards/latinpad/keymaps/via/rules.mk +++ b/keyboards/latinpad/keymaps/via/rules.mk | |||
@@ -1 +1,2 @@ | |||
1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/mt84/rules.mk b/keyboards/mt84/rules.mk index b27a7c344..e872bb239 100644 --- a/keyboards/mt84/rules.mk +++ b/keyboards/mt84/rules.mk | |||
@@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu | |||
7 | # Build Options | 7 | # Build Options |
8 | # change yes to no to disable | 8 | # change yes to no to disable |
9 | # | 9 | # |
10 | BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
11 | MOUSEKEY_ENABLE = yes # Mouse keys | 11 | MOUSEKEY_ENABLE = yes # Mouse keys |
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
13 | CONSOLE_ENABLE = no # Console for debug | 13 | CONSOLE_ENABLE = no # Console for debug |
@@ -22,6 +22,6 @@ RGB_MATRIX_DRIVER = IS31FL3737 | |||
22 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 22 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
23 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 23 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
24 | AUDIO_ENABLE = no # Audio output | 24 | AUDIO_ENABLE = no # Audio output |
25 | LTO_ENABLE = yes | ||
25 | 26 | ||
26 | LAYOUTS = 75_ansi | 27 | LAYOUTS = 75_ansi |
27 | |||
diff --git a/keyboards/percent/canoe_gen2/keymaps/via/rules.mk b/keyboards/percent/canoe_gen2/keymaps/via/rules.mk index 1e5b99807..36b7ba9cb 100644 --- a/keyboards/percent/canoe_gen2/keymaps/via/rules.mk +++ b/keyboards/percent/canoe_gen2/keymaps/via/rules.mk | |||
@@ -1 +1,2 @@ | |||
1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/ungodly/launch_pad/config.h b/keyboards/ungodly/launch_pad/config.h index e4e14ad68..0b6d03801 100644 --- a/keyboards/ungodly/launch_pad/config.h +++ b/keyboards/ungodly/launch_pad/config.h | |||
@@ -54,6 +54,9 @@ | |||
54 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | 54 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS |
55 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | 55 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS |
56 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | 56 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS |
57 | # define DISABLE_RGB_MATRIX_PIXEL_FLOW | ||
58 | # define DISABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
59 | # define DISABLE_RGB_MATRIX_PIXEL_RAIN | ||
57 | # define DRIVER_LED_TOTAL 22 | 60 | # define DRIVER_LED_TOTAL 22 |
58 | #endif | 61 | #endif |
59 | 62 | ||
diff --git a/keyboards/yncognito/batpad/keymaps/via/rules.mk b/keyboards/yncognito/batpad/keymaps/via/rules.mk index 1e5b99807..36b7ba9cb 100644 --- a/keyboards/yncognito/batpad/keymaps/via/rules.mk +++ b/keyboards/yncognito/batpad/keymaps/via/rules.mk | |||
@@ -1 +1,2 @@ | |||
1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
2 | LTO_ENABLE = yes | ||