From d09c11dc787d3b04dd28db23bf96da456f2e4410 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 23 Jul 2024 02:12:34 +1000 Subject: [PATCH 1/2] `kprepublic/bm40hsrgb/rev2`: reduce firmware size (#24176) --- keyboards/kprepublic/bm40hsrgb/rev2/keyboard.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keyboards/kprepublic/bm40hsrgb/rev2/keyboard.json b/keyboards/kprepublic/bm40hsrgb/rev2/keyboard.json index cfaabd5c9e..525a6088ed 100644 --- a/keyboards/kprepublic/bm40hsrgb/rev2/keyboard.json +++ b/keyboards/kprepublic/bm40hsrgb/rev2/keyboard.json @@ -14,6 +14,9 @@ "command": false, "nkro": false }, + "build": { + "lto": true + }, "usb": { "vid": "0x4B50", "pid": "0x3430", From 4bcc80ad464c413ec1e27670638bda8e35a505f9 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 23 Jul 2024 02:12:55 +1000 Subject: [PATCH 2/2] `merge/um80`: reduce firmware size (#24177) --- keyboards/merge/um80/keyboard.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keyboards/merge/um80/keyboard.json b/keyboards/merge/um80/keyboard.json index 5a369877f8..1cbac749f7 100644 --- a/keyboards/merge/um80/keyboard.json +++ b/keyboards/merge/um80/keyboard.json @@ -42,6 +42,9 @@ "sleep": true, "split_count": [48, 52] }, + "build": { + "lto": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": {