Skip to content

Commit 8ce079e

Browse files
committed
Reduce firmware size in pre for qmk#12670
1 parent 368efb5 commit 8ce079e

File tree

10 files changed

+13
-18
lines changed

10 files changed

+13
-18
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
VIA_ENABLE = yes
2+
LTO_ENABLE = yes

keyboards/handwired/colorlice/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ MIDI_ENABLE = no # MIDI support
2828
UNICODE_ENABLE = no # Unicode
2929
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
3030
AUDIO_ENABLE = no # Audio output on port C6
31-
LTO_ENABLE = no # Use link time optimization
31+
LTO_ENABLE = yes # Use link time optimization
3232
RGB_MATRIX_ENABLE = yes
3333
RGB_MATRIX_DRIVER = WS2812
3434
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow

keyboards/handwired/p65rgb/rules.mk

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@
22
MCU = atmega32u4
33

44
# 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
125
BOOTLOADER = qmk-dfu
136

147
# Build Options
158
# change yes to no to disable
169
#
17-
BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration
10+
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
1811
MOUSEKEY_ENABLE = yes # Mouse keys
1912
EXTRAKEY_ENABLE = yes # Audio control and System control
2013
CONSOLE_ENABLE = no # Console for debug
@@ -30,3 +23,4 @@ RGB_MATRIX_DRIVER = WS2812
3023
MIDI_ENABLE = no # MIDI support
3124
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
3225
AUDIO_ENABLE = no # Audio output on port C6
26+
LTO_ENABLE = yes

keyboards/latin6rgb/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BOOTLOADER = atmel-dfu
1010
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
1111
MOUSEKEY_ENABLE = yes # Mouse keys
1212
EXTRAKEY_ENABLE = yes # Audio control and System control
13-
CONSOLE_ENABLE = yes # Console for debug
13+
CONSOLE_ENABLE = no # Console for debug
1414
COMMAND_ENABLE = no # Commands for debug and configuration
1515
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
1616
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend

keyboards/latinpad/config.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
4444
/* define if matrix has ghost (lacks anti-ghosting diodes) */
4545
//#define MATRIX_HAS_GHOST
4646

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-
5347
#define OLED_FONT_H "./lib/glcdfont.c"
5448

5549
#define ENCODERS_PAD_A { B4, B5 }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
VIA_ENABLE = yes
2+
LTO_ENABLE = yes

keyboards/mt84/rules.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
77
# Build Options
88
# change yes to no to disable
99
#
10-
BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration
10+
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
1111
MOUSEKEY_ENABLE = yes # Mouse keys
1212
EXTRAKEY_ENABLE = yes # Audio control and System control
1313
CONSOLE_ENABLE = no # Console for debug
@@ -22,6 +22,6 @@ RGB_MATRIX_DRIVER = IS31FL3737
2222
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
2323
BLUETOOTH_ENABLE = no # Enable Bluetooth
2424
AUDIO_ENABLE = no # Audio output
25+
LTO_ENABLE = yes
2526

2627
LAYOUTS = 75_ansi
27-
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
VIA_ENABLE = yes
2+
LTO_ENABLE = yes

keyboards/ungodly/launch_pad/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
5555
# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
5656
# 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
5760
# define DRIVER_LED_TOTAL 22
5861
#endif
5962

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
VIA_ENABLE = yes
2+
LTO_ENABLE = yes

0 commit comments

Comments
 (0)