Reduce firmware size in prep for #12670 (#13724)

* Reduce firmware size in pre for #12670

* Also disable pixel mode, just in case
This commit is contained in:
Drashna Jaelre 2021-07-26 19:41:28 -07:00 committed by GitHub
parent 3a96c9fcaa
commit 14b46bfbe3
6 changed files with 46 additions and 0 deletions

View file

@ -1 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes

View file

@ -0,0 +1,21 @@
/* Copyright 2021 DZTECH <moyi4681@live.cn>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define DISABLE_RGB_MATRIX_PIXEL_FLOW
#define DISABLE_RGB_MATRIX_PIXEL_FRACTAL
#define DISABLE_RGB_MATRIX_PIXEL_RAIN

View file

@ -0,0 +1,21 @@
/* Copyright 2021 DZTECH <moyi4681@live.cn>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define DISABLE_RGB_MATRIX_PIXEL_FLOW
#define DISABLE_RGB_MATRIX_PIXEL_FRACTAL
#define DISABLE_RGB_MATRIX_PIXEL_RAIN

View file

@ -1 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes

View file

@ -1 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes

View file

@ -1 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes