[Keyboard] Reduce compile size of the Lily58 Keyboard (#5412)
This commit is contained in:
parent
4f0dc945c3
commit
28e182bc8a
|
@ -24,11 +24,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define USE_I2C
|
#define USE_I2C
|
||||||
#define USE_SERIAL
|
#define USE_SERIAL
|
||||||
|
|
||||||
#ifdef USE_Link_Time_Optimization
|
|
||||||
// LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
|
|
||||||
// so just disable them
|
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_FUNCTION
|
#define NO_ACTION_FUNCTION
|
||||||
|
|
||||||
#define DISABLE_LEADER
|
|
||||||
#endif // USE_Link_Time_Optimization
|
|
|
@ -21,7 +21,7 @@ extern uint8_t is_master;
|
||||||
#define _QWERTY 0
|
#define _QWERTY 0
|
||||||
#define _LOWER 1
|
#define _LOWER 1
|
||||||
#define _RAISE 2
|
#define _RAISE 2
|
||||||
#define _ADJUST 16
|
#define _ADJUST 3
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
QWERTY = SAFE_RANGE,
|
QWERTY = SAFE_RANGE,
|
||||||
|
|
|
@ -66,8 +66,6 @@ AUDIO_ENABLE = no # Audio output on port C6
|
||||||
UNICODE_ENABLE = no # Unicode
|
UNICODE_ENABLE = no # Unicode
|
||||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||||
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
||||||
SUBPROJECT_rev1 = no
|
|
||||||
USE_I2C = yes
|
|
||||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue