refactor
This commit is contained in:
parent
e39758d8ce
commit
1f19f8b209
|
@ -1,30 +1,36 @@
|
||||||
# We are using a Splinky RP2040 as a drop-in replacement controller
|
# We are using a Splinky RP2040 as a drop-in pro-micro replacement
|
||||||
CONVERT_TO = promicro_rp2040
|
CONVERT_TO = promicro_rp2040
|
||||||
BOOTLOADER = rp2040
|
BOOTLOADER = rp2040
|
||||||
|
|
||||||
# Default features
|
# Reduce compiled size of firmware
|
||||||
LTO_ENABLE = yes
|
LTO_ENABLE = yes
|
||||||
|
|
||||||
# Optional features
|
# Software features
|
||||||
OLED_ENABLE = yes
|
AUTOCORRECT_ENABLE = yes
|
||||||
RGBLIGHT_ENABLE = yes
|
AUTO_SHIFT_ENABLE = yes
|
||||||
REPEAT_KEY_ENABLE = yes
|
CAPS_WORD_ENABLE = yes
|
||||||
LEADER_ENABLE = yes
|
COMBO_ENABLE = yes
|
||||||
# Toggleable through keymap
|
DYNAMIC_MACRO_ENABLE = yes
|
||||||
AUTO_SHIFT_ENABLE = yes
|
LEADER_ENABLE = yes
|
||||||
AUTOCORRECT_ENABLE = yes
|
MOUSEKEY_ENABLE = yes
|
||||||
CAPS_WORD_ENABLE = yes
|
OLED_ENABLE = yes
|
||||||
COMBO_ENABLE = yes
|
REPEAT_KEY_ENABLE = yes
|
||||||
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
SRC += process_record.c
|
# Feature libraries
|
||||||
SRC += features/sentence_case.c
|
SRC += features/sentence_case.c
|
||||||
|
|
||||||
|
# Behaviour of our custom keycodes
|
||||||
|
SRC += process_record.c
|
||||||
|
|
||||||
|
# Oled display configuration
|
||||||
ifeq ($(OLED_ENABLE),yes)
|
ifeq ($(OLED_ENABLE),yes)
|
||||||
SRC += ./oled.c
|
SRC += ./oled.c
|
||||||
OLED_DRIVER = ssd1306
|
OLED_DRIVER = ssd1306
|
||||||
WPM_ENABLE = yes
|
WPM_ENABLE = yes
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Combo dictionary
|
||||||
ifeq ($(COMBO_ENABLE),yes)
|
ifeq ($(COMBO_ENABLE),yes)
|
||||||
VPATH += keyboards/gboards
|
VPATH += keyboards/gboards
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue