aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-08-06 23:59:56 -0700
committerGitHub <noreply@github.com>2021-08-06 23:59:56 -0700
commita03aa301def77c867ae6c6c840f7fc82b26d91d6 (patch)
treea6bc1e2ce769edfd3ce3e25c86ece48d1ca14853 /keyboards/preonic
parent0bc9090b1f98038b2bf4f648618d6143dcd93c82 (diff)
downloadqmk_firmware-a03aa301def77c867ae6c6c840f7fc82b26d91d6.tar.gz
qmk_firmware-a03aa301def77c867ae6c6c840f7fc82b26d91d6.zip
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
Diffstat (limited to 'keyboards/preonic')
-rw-r--r--keyboards/preonic/keymaps/0xdec/rules.mk2
-rw-r--r--keyboards/preonic/keymaps/arkag/rules.mk2
-rw-r--r--keyboards/preonic/keymaps/bucktooth/rules.mk2
-rw-r--r--keyboards/preonic/keymaps/dlaroe/rules.mk2
-rw-r--r--keyboards/preonic/keymaps/dudeofawesome/rules.mk2
-rw-r--r--keyboards/preonic/keymaps/jacwib/rules.mk2
-rw-r--r--keyboards/preonic/keymaps/kinesis/rules.mk2
-rw-r--r--keyboards/preonic/keymaps/seph/rules.mk2
-rw-r--r--keyboards/preonic/keymaps/that_canadian/rules.mk2
-rw-r--r--keyboards/preonic/keymaps/zach/rules.mk2
-rw-r--r--keyboards/preonic/rev1/rules.mk2
-rw-r--r--keyboards/preonic/rev2/rules.mk2
-rw-r--r--keyboards/preonic/rev3/rules.mk2
13 files changed, 13 insertions, 13 deletions
diff --git a/keyboards/preonic/keymaps/0xdec/rules.mk b/keyboards/preonic/keymaps/0xdec/rules.mk
index 0c8a6dc41..a68b26c24 100644
--- a/keyboards/preonic/keymaps/0xdec/rules.mk
+++ b/keyboards/preonic/keymaps/0xdec/rules.mk
@@ -1,6 +1,6 @@
1# Build Options 1# Build Options
2 2
3BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 3BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
4MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 4MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
5EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 5EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
6CONSOLE_ENABLE = no # Console for debug(+400) 6CONSOLE_ENABLE = no # Console for debug(+400)
diff --git a/keyboards/preonic/keymaps/arkag/rules.mk b/keyboards/preonic/keymaps/arkag/rules.mk
index 8b04cf2aa..671da6f94 100644
--- a/keyboards/preonic/keymaps/arkag/rules.mk
+++ b/keyboards/preonic/keymaps/arkag/rules.mk
@@ -1,4 +1,4 @@
1BOOTMAGIC_ENABLE = lite 1BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
2MOUSEKEY_ENABLE = no 2MOUSEKEY_ENABLE = no
3STENO_ENABLE = no 3STENO_ENABLE = no
4EXTRAKEY_ENABLE = yes 4EXTRAKEY_ENABLE = yes
diff --git a/keyboards/preonic/keymaps/bucktooth/rules.mk b/keyboards/preonic/keymaps/bucktooth/rules.mk
index 8f226afd9..fc2652965 100644
--- a/keyboards/preonic/keymaps/bucktooth/rules.mk
+++ b/keyboards/preonic/keymaps/bucktooth/rules.mk
@@ -1,6 +1,6 @@
1 1
2 2
3BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 3BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
4MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 4MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
5EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 5EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
6CONSOLE_ENABLE = no # Console for debug(+400) 6CONSOLE_ENABLE = no # Console for debug(+400)
diff --git a/keyboards/preonic/keymaps/dlaroe/rules.mk b/keyboards/preonic/keymaps/dlaroe/rules.mk
index 2b7cff4db..38fb7375c 100644
--- a/keyboards/preonic/keymaps/dlaroe/rules.mk
+++ b/keyboards/preonic/keymaps/dlaroe/rules.mk
@@ -4,7 +4,7 @@
4# change to "no" to disable the options, or define them in the Makefile in 4# change to "no" to disable the options, or define them in the Makefile in
5# the appropriate keymap folder that will get included automatically 5# the appropriate keymap folder that will get included automatically
6# 6#
7BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration(+1000) 7BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
8MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 8MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
9EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 9EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
10CONSOLE_ENABLE = no # Console for debug(+400) 10CONSOLE_ENABLE = no # Console for debug(+400)
diff --git a/keyboards/preonic/keymaps/dudeofawesome/rules.mk b/keyboards/preonic/keymaps/dudeofawesome/rules.mk
index 4434d3de7..607192459 100644
--- a/keyboards/preonic/keymaps/dudeofawesome/rules.mk
+++ b/keyboards/preonic/keymaps/dudeofawesome/rules.mk
@@ -1,4 +1,4 @@
1BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 1BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
2MIDI_ENABLE = no # MIDI controls 2MIDI_ENABLE = no # MIDI controls
3AUDIO_ENABLE = yes # Audio output on port C6 3AUDIO_ENABLE = yes # Audio output on port C6
4UNICODE_ENABLE = no # Unicode 4UNICODE_ENABLE = no # Unicode
diff --git a/keyboards/preonic/keymaps/jacwib/rules.mk b/keyboards/preonic/keymaps/jacwib/rules.mk
index 8f226afd9..fc2652965 100644
--- a/keyboards/preonic/keymaps/jacwib/rules.mk
+++ b/keyboards/preonic/keymaps/jacwib/rules.mk
@@ -1,6 +1,6 @@
1 1
2 2
3BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 3BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
4MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 4MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
5EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 5EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
6CONSOLE_ENABLE = no # Console for debug(+400) 6CONSOLE_ENABLE = no # Console for debug(+400)
diff --git a/keyboards/preonic/keymaps/kinesis/rules.mk b/keyboards/preonic/keymaps/kinesis/rules.mk
index 94d02c8b7..2f8516a96 100644
--- a/keyboards/preonic/keymaps/kinesis/rules.mk
+++ b/keyboards/preonic/keymaps/kinesis/rules.mk
@@ -4,7 +4,7 @@
4# change to "no" to disable the options, or define them in the Makefile in 4# change to "no" to disable the options, or define them in the Makefile in
5# the appropriate keymap folder that will get included automatically 5# the appropriate keymap folder that will get included automatically
6# 6#
7BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 7BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
8MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 8MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
9EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 9EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
10CONSOLE_ENABLE = no # Console for debug(+400) 10CONSOLE_ENABLE = no # Console for debug(+400)
diff --git a/keyboards/preonic/keymaps/seph/rules.mk b/keyboards/preonic/keymaps/seph/rules.mk
index dd26cd906..0869baa8d 100644
--- a/keyboards/preonic/keymaps/seph/rules.mk
+++ b/keyboards/preonic/keymaps/seph/rules.mk
@@ -2,7 +2,7 @@
2# change to "no" to disable the options, or define them in the Makefile in 2# change to "no" to disable the options, or define them in the Makefile in
3# the appropriate keymap folder that will get included automatically 3# the appropriate keymap folder that will get included automatically
4# 4#
5BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 5BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
6MOUSEKEY_ENABLE = no # Mouse keys(+4700) 6MOUSEKEY_ENABLE = no # Mouse keys(+4700)
7EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 7EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
8CONSOLE_ENABLE = no # Console for debug(+400) 8CONSOLE_ENABLE = no # Console for debug(+400)
diff --git a/keyboards/preonic/keymaps/that_canadian/rules.mk b/keyboards/preonic/keymaps/that_canadian/rules.mk
index 773e5c45d..1c0fc5805 100644
--- a/keyboards/preonic/keymaps/that_canadian/rules.mk
+++ b/keyboards/preonic/keymaps/that_canadian/rules.mk
@@ -4,7 +4,7 @@
4# change to "no" to disable the options, or define them in the Makefile in 4# change to "no" to disable the options, or define them in the Makefile in
5# the appropriate keymap folder that will get included automatically 5# the appropriate keymap folder that will get included automatically
6# 6#
7BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 7BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
8MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 8MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
9EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 9EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
10CONSOLE_ENABLE = no # Console for debug(+400) 10CONSOLE_ENABLE = no # Console for debug(+400)
diff --git a/keyboards/preonic/keymaps/zach/rules.mk b/keyboards/preonic/keymaps/zach/rules.mk
index 77efcf383..8d2f75eea 100644
--- a/keyboards/preonic/keymaps/zach/rules.mk
+++ b/keyboards/preonic/keymaps/zach/rules.mk
@@ -6,7 +6,7 @@
6# the appropriate keymap folder that will get included automatically 6# the appropriate keymap folder that will get included automatically
7# 7#
8TAP_DANCE_ENABLE = yes # Enable TapDance functionality 8TAP_DANCE_ENABLE = yes # Enable TapDance functionality
9BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 9BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
10MOUSEKEY_ENABLE = no # Mouse keys(+4700) 10MOUSEKEY_ENABLE = no # Mouse keys(+4700)
11EXTRAKEY_ENABLE = no # Audio control and System control(+450) 11EXTRAKEY_ENABLE = no # Audio control and System control(+450)
12CONSOLE_ENABLE = no # Console for debug(+400) 12CONSOLE_ENABLE = no # Console for debug(+400)
diff --git a/keyboards/preonic/rev1/rules.mk b/keyboards/preonic/rev1/rules.mk
index d6c61f286..2458f3c54 100644
--- a/keyboards/preonic/rev1/rules.mk
+++ b/keyboards/preonic/rev1/rules.mk
@@ -15,7 +15,7 @@ BOOTLOADER = atmel-dfu
15# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
16# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
17# 17#
18BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration 18BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
19MOUSEKEY_ENABLE = no # Mouse keys 19MOUSEKEY_ENABLE = no # Mouse keys
20EXTRAKEY_ENABLE = yes # Audio control and System control 20EXTRAKEY_ENABLE = yes # Audio control and System control
21CONSOLE_ENABLE = no # Console for debug 21CONSOLE_ENABLE = no # Console for debug
diff --git a/keyboards/preonic/rev2/rules.mk b/keyboards/preonic/rev2/rules.mk
index 677a0700b..b2567f915 100644
--- a/keyboards/preonic/rev2/rules.mk
+++ b/keyboards/preonic/rev2/rules.mk
@@ -15,7 +15,7 @@ BOOTLOADER = qmk-dfu
15# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
16# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
17# 17#
18BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration 18BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
19MOUSEKEY_ENABLE = no # Mouse keys 19MOUSEKEY_ENABLE = no # Mouse keys
20EXTRAKEY_ENABLE = yes # Audio control and System control 20EXTRAKEY_ENABLE = yes # Audio control and System control
21CONSOLE_ENABLE = yes # Console for debug 21CONSOLE_ENABLE = yes # Console for debug
diff --git a/keyboards/preonic/rev3/rules.mk b/keyboards/preonic/rev3/rules.mk
index 3c330d02d..9e89fec8f 100644
--- a/keyboards/preonic/rev3/rules.mk
+++ b/keyboards/preonic/rev3/rules.mk
@@ -9,7 +9,7 @@ BOOTLOADER = stm32-dfu
9# change to "no" to disable the options, or define them in the Makefile in 9# change to "no" to disable the options, or define them in the Makefile in
10# the appropriate keymap folder that will get included automatically 10# the appropriate keymap folder that will get included automatically
11# 11#
12BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration 12BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
13MOUSEKEY_ENABLE = yes # Mouse keys 13MOUSEKEY_ENABLE = yes # Mouse keys
14EXTRAKEY_ENABLE = yes # Audio control and System control 14EXTRAKEY_ENABLE = yes # Audio control and System control
15CONSOLE_ENABLE = yes # Console for debug 15CONSOLE_ENABLE = yes # Console for debug