Remove Full Bootmagic (#13846)
* disambiguate Bootmagic rules in keymaps The files edited by this commit were added at a point in time where `BOOTMAGIC_ENABLE = yes` enabled full Bootmagic. This commit edits the files to specify that full Bootmagic is intended. * remove BOOTMAGIC_ENABLE=full setting * unify commented BOOTMAGIC_ENABLE rules in keyboards Explicitly sets `BOOTMAGIC_ENABLE = no` in keyboards where the rule was commented out. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-zA-Z]\+\).*;\1 = no # Virtual DIP switch configuration;g' {} + ``` * remove commented Bootmagic rules from keymap/user level Command: ``` find keyboards/ layouts/ users/ -type f -name 'rules.mk' -exec sed -i -e '/#.*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*/d' {} + ``` * update keyboard BOOTMAGIC_ENABLE rule formatting Sets the formatting of BOOTMAGIC_ENABLE rules to `BOOTMAGIC_ENABLE = [value]`, without the inline comments (which will be replaced later). Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + ``` * update keyboards' BOOTMAGIC_ENABLE settings Updates keyboard `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = \)full;\1lite;g' '{}' + ``` * update keymap/user BOOTMAGIC_ENABLE settings Updates keymap/user `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used. Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' + find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' + ``` * remove and replace inline comments in keyboards and keymap/user files Removes and replaces the inline comments, which have been updated to read `Enable Bootmagic Lite`. Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = lite\);\1 # Enable Bootmagic Lite;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = yes\);\1 # Enable Bootmagic Lite;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = no\);\1 # Enable Bootmagic Lite;g' '{}' + ``` * rename improperly named makefiles Some files intended to be used as makefiles had improper names causing them to not be used as intended when building. This commit corrects the filenames of the affected files. * update renamed file with new rule formatting * update QMK's template files Updates QMK's `rules.mk` templates to use the new inline comment. * update QMK Docs - remove documentation of full Bootmagic - update links to Bootmagic Lite doc - add doc for Magic Keycodes * rules.mk patch for coarse/ixora and coarse/vinta
This commit is contained in:
parent
0bc9090b1f
commit
a03aa301de
2007 changed files with 2083 additions and 2440 deletions
|
@ -10,7 +10,7 @@ ifndef BLUETOOTH_ENABLE
|
|||
BLUETOOTH_ENABLE = no # No bluetooth
|
||||
endif
|
||||
COMMAND_ENABLE = no # Some bootmagic thing i dont use
|
||||
BOOTMAGIC_ENABLE = no # Access to EEPROM settings, not needed
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
CONSOLE_ENABLE = no # Allows console output with a command
|
||||
SLEEP_LED_ENABLE = no # Breathes LED's when computer is asleep. Untested.
|
||||
NKRO_ENABLE = no # Default is 6KRO which is plenty
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
SRC += bcat.c
|
||||
|
||||
# Enable Bootmagic Lite to consistently reset to bootloader and clear EEPROM.
|
||||
BOOTMAGIC_ENABLE = lite
|
||||
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
|
||||
|
||||
# Enable media keys on all keyboards.
|
||||
EXTRAKEY_ENABLE = yes
|
||||
|
|
|
@ -2,7 +2,7 @@ AUTO_SHIFT_ENABLE = no # Enable autoshift
|
|||
MOUSEKEY_ENABLE = yes
|
||||
EXTRAKEY_ENABLE = yes
|
||||
CONSOLE_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
GRAVE_ESC_ENABLE = no
|
||||
CONSOLE_ENABLE = no
|
||||
SPACE_CADET_ENABLE = no
|
||||
|
|
|
@ -2,7 +2,7 @@ SRC += d4mation.c \
|
|||
tap-hold.c \
|
||||
macros.c
|
||||
|
||||
BOOTMAGIC_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
LTO_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = no
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ SRC += doogle999.c
|
|||
|
||||
CFLAGS += -fstrict-aliasing -ftree-vrp
|
||||
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
|
|
|
@ -7,6 +7,6 @@ TAP_DANCE_ENABLE = yes
|
|||
|
||||
AUDIO_ENABLE = no
|
||||
BACKLIGHT_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
CONSOLE_ENABLE = no
|
||||
SLEEP_LED_ENABLE = no
|
|
@ -9,6 +9,6 @@ KEY_LOCK_ENABLE = yes # Enable the KC_LOCK key
|
|||
TAP_DANCE_ENABLE = yes # Enable the tap dance feature.
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
UNICODE_ENABLE = no
|
||||
SLEEP_LED_ENABLE = no
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
TAP_DANCE_ENABLE = yes
|
||||
SRC += gordon.c
|
||||
|
||||
# BOOTMAGIC_ENABLE = full
|
||||
|
|
|
@ -19,7 +19,7 @@ NKRO_ENABLE = no # note: also needs FORCE_NKRO in config.h
|
|||
# Disable unused features to save on space
|
||||
# https://thomasbaart.nl/2018/12/01/reducing-firmware-size-in-qmk/
|
||||
MOUSEKEY_ENABLE = no # 2000 bytes
|
||||
BOOTMAGIC_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
COMMAND_ENABLE = no # https://beta.docs.qmk.fm/features/feature_command
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
SWAP_HANDS_ENABLE = no # Allow swapping hands of keyboard
|
||||
|
|
|
@ -7,4 +7,4 @@ endif
|
|||
users/jdelkins/secrets.h: users/jdelkins/secrets.h.gpg
|
||||
gpg -d $< >$@
|
||||
|
||||
BOOTMAGIC_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
# Only enable things here that are generic to all keyboards. A yes or no here
|
||||
# will override keyboard/keymap specific values
|
||||
#
|
||||
#BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
|
||||
#COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
#CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# change to "no" to disable the options, or define them in the Makefile in
|
||||
# the appropriate keymap folder that will get included automatically
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
BOOTMAGIC_ENABLE = no # Disable Boot Magic (https://beta.docs.qmk.fm/features/feature_bootmagic)
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
TAP_DANCE_ENABLE = yes # Enable Tap Dance.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
SRC += ridingqwerty.c \
|
||||
process_records.c
|
||||
|
||||
BOOTMAGIC_ENABLE = lite
|
||||
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
|
||||
CONSOLE_ENABLE = no
|
||||
COMMAND_ENABLE = no
|
||||
UNICODE_ENABLE = no # "yes" in Atreus default keymap, blocking UNICODEMAP_ENABLE
|
||||
|
|
|
@ -10,7 +10,7 @@ ifndef BLUETOOTH_ENABLE
|
|||
BLUETOOTH_ENABLE = no # No bluetooth
|
||||
endif
|
||||
COMMAND_ENABLE = no # Some bootmagic thing i dont use
|
||||
BOOTMAGIC_ENABLE = no # Access to EEPROM settings, not needed
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
CONSOLE_ENABLE = no # Allows console output with a command
|
||||
SLEEP_LED_ENABLE = no # Breathes LED's when computer is asleep. Untested.
|
||||
NKRO_ENABLE = no # Default is 6KRO which is plenty
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
BOOTMAGIC_ENABLE = lite
|
||||
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
LTO_ENABLE = yes
|
||||
|
|
|
@ -1 +1 @@
|
|||
BOOTMAGIC_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
|
|
|
@ -13,4 +13,4 @@ TAP_DANCE_ENABLE=yes
|
|||
CONSOLE_ENABLE=no
|
||||
COMMAND_ENABLE=no
|
||||
DYNAMIC_KEYMAP_ENABLE=no
|
||||
BOOTMAGIC_ENABLE=full
|
||||
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
CONSOLE_ENABLE = no
|
||||
TAP_DANCE_ENABLE = yes
|
||||
NKRO_ENABLE = yes
|
||||
BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration
|
||||
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
|
||||
|
||||
ifeq ($(strip $(KEYBOARD)), crkbd/rev1)
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
BOOTMAGIC_ENABLE = lite
|
||||
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
|
||||
DYNAMIC_KEYMAP_ENABLE = no
|
||||
LTO_ENABLE = yes
|
||||
AUDIO_ENABLE = no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue