From 1ecf9d8c7eac0c97c39ad8dfda644c26deb52ed5 Mon Sep 17 00:00:00 2001 From: AP Date: Sat, 2 Aug 2025 11:22:57 -0400 Subject: [PATCH] Size reduction Based on https://docs.qmk.fm/squeezing_avr. Local compile reports as " * The firmware size is fine - 25946/28672 (90%, 2726 bytes free)" Also changed unlock combo. --- keyboards/viktus/sp_mini/keymaps/vial/config.h | 11 +++++++++-- keyboards/viktus/sp_mini/keymaps/vial/rules.mk | 9 +++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/keyboards/viktus/sp_mini/keymaps/vial/config.h b/keyboards/viktus/sp_mini/keymaps/vial/config.h index a4d8fb6e73..2e53b6dda7 100644 --- a/keyboards/viktus/sp_mini/keymaps/vial/config.h +++ b/keyboards/viktus/sp_mini/keymaps/vial/config.h @@ -1,13 +1,14 @@ #define VIAL_KEYBOARD_UID {0xE5, 0x2B, 0x48, 0x0A, 0x60, 0xE2, 0x5D, 0x31} -#define VIAL_UNLOCK_COMBO_ROWS { 0, 3 } -#define VIAL_UNLOCK_COMBO_COLS { 0, 13 } +#define VIAL_UNLOCK_COMBO_ROWS { 1, 1 } +#define VIAL_UNLOCK_COMBO_COLS { 2, 2 } #define DYNAMIC_KEYMAP_LAYER_COUNT 3 #define LAYER_STATE_8BIT // #define VIAL_COMBO_ENTRIES 8 // #define VIAL_TAP_DANCE_ENTRIES 8 +/* #undef RGBLIGHT_ANIMATIONS // #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_BREATHING @@ -19,6 +20,12 @@ #define RGBLIGHT_EFFECT_SNAKE #define RGBLIGHT_EFFECT_STATIC_GRADIENT // #define RGBLIGHT_EFFECT_TWINKLE +*/ /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ #define RGBLIGHT_BREATHE_TABLE_SIZE 128 // 256(default) or 128 or 64 + +#undef LOCKING_SUPPORT_ENABLE +#undef LOCKING_RESYNC_ENABLE +#define NO_ACTION_ONESHOT +#define NO_MUSIC_MODE \ No newline at end of file diff --git a/keyboards/viktus/sp_mini/keymaps/vial/rules.mk b/keyboards/viktus/sp_mini/keymaps/vial/rules.mk index eadfac430f..18b6cd1adc 100644 --- a/keyboards/viktus/sp_mini/keymaps/vial/rules.mk +++ b/keyboards/viktus/sp_mini/keymaps/vial/rules.mk @@ -7,5 +7,14 @@ COMBO_ENABLE = no KEY_OVERRIDE_ENABLE = no TAP_DANCE_ENABLE = no +CONSOLE_ENABLE = no +COMMAND_ENABLE = no +MOUSEKEY_ENABLE = no +EXTRAKEY_ENABLE = no +SPACE_CADET_ENABLE = no +GRAVE_ESC_ENABLE = no +MAGIC_ENABLE = no +MUSIC_ENABLE = no + ENCODER_ENABLE = yes ENCODER_MAP_ENABLE = yes \ No newline at end of file