From 26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 13 Jul 2024 13:12:35 +0100 Subject: [PATCH] Migrate SERIAL_DRIVER to json (#23925) --- keyboards/ai03/altair/keyboard.json | 3 +++ keyboards/ai03/altair/rules.mk | 1 - keyboards/ai03/altair_x/keyboard.json | 3 +++ keyboards/ai03/altair_x/rules.mk | 1 - keyboards/aidansmithdotdev/sango/keyboard.json | 3 +++ keyboards/aidansmithdotdev/sango/rules.mk | 1 - keyboards/arrowmechanics/wings/keyboard.json | 3 +++ keyboards/arrowmechanics/wings/rules.mk | 1 - keyboards/beekeeb/piantor/keyboard.json | 3 +++ keyboards/beekeeb/piantor/rules.mk | 1 - keyboards/beekeeb/piantor_pro/keyboard.json | 5 ++++- keyboards/beekeeb/piantor_pro/rules.mk | 1 - keyboards/boardsource/lulu/rp2040/keyboard.json | 5 +++++ keyboards/boardsource/lulu/rp2040/rules.mk | 1 - keyboards/boardsource/unicorne/keyboard.json | 3 +++ keyboards/boardsource/unicorne/rules.mk | 1 - keyboards/budgy/keyboard.json | 3 +++ keyboards/budgy/rules.mk | 1 - keyboards/cantor/keyboard.json | 3 +++ keyboards/cantor/rules.mk | 1 - keyboards/chew/keyboard.json | 3 +++ keyboards/chew/rules.mk | 1 - keyboards/controllerworks/mini36/keyboard.json | 3 +++ keyboards/controllerworks/mini36/rules.mk | 1 - keyboards/controllerworks/mini42/keyboard.json | 3 +++ keyboards/controllerworks/mini42/rules.mk | 1 - keyboards/elcantorhs/keyboard.json | 3 +++ keyboards/elcantorhs/rules.mk | 1 - keyboards/era/sirind/tomak/keyboard.json | 3 +++ keyboards/era/sirind/tomak/rules.mk | 1 - keyboards/gregandcin/teaqueen/keyboard.json | 5 ++++- keyboards/gregandcin/teaqueen/rules.mk | 1 - keyboards/handwired/alcor_dactyl/keyboard.json | 5 ++++- keyboards/handwired/alcor_dactyl/rules.mk | 1 - .../dactyl_manuform/6x6/blackpill_f411/keyboard.json | 3 +++ .../handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk | 3 --- keyboards/handwired/jankrp2040dactyl/keyboard.json | 5 ++++- keyboards/handwired/jankrp2040dactyl/rules.mk | 1 - keyboards/handwired/riblee_split/keyboard.json | 3 +++ keyboards/handwired/riblee_split/rules.mk | 1 - keyboards/handwired/split65/stm32/keyboard.json | 5 ++++- keyboards/handwired/split65/stm32/rules.mk | 1 - .../handwired/tractyl_manuform/5x6_right/f303/keyboard.json | 5 +++++ keyboards/handwired/tractyl_manuform/5x6_right/f303/rules.mk | 3 --- .../handwired/tractyl_manuform/5x6_right/f411/keyboard.json | 5 +++++ keyboards/handwired/tractyl_manuform/5x6_right/f411/rules.mk | 2 -- keyboards/input_club/ergodox_infinity/keyboard.json | 5 ++++- keyboards/input_club/ergodox_infinity/rules.mk | 1 - keyboards/janus/keyboard.json | 5 ++++- keyboards/janus/rules.mk | 1 - keyboards/jaykeeb/kamigakushi/rules.mk | 1 - keyboards/junco/rev1/keyboard.json | 3 +++ keyboards/junco/rev1/rules.mk | 1 - keyboards/kaly/kaly42/keyboard.json | 3 +++ keyboards/kaly/kaly42/rules.mk | 1 - keyboards/karn/keyboard.json | 5 ++++- keyboards/karn/rules.mk | 1 - keyboards/keebio/cepstrum/rev1/keyboard.json | 3 +++ keyboards/keebio/cepstrum/rev1/rules.mk | 1 - keyboards/keebio/chiri_ce/rev1/keyboard.json | 3 +++ keyboards/keebio/chiri_ce/rev1/rules.mk | 1 - keyboards/keebio/iris/rev8/keyboard.json | 3 +++ keyboards/keebio/iris/rev8/rules.mk | 1 - keyboards/keebio/iris_ce/rev1/keyboard.json | 3 +++ keyboards/keebio/iris_ce/rev1/rules.mk | 1 - keyboards/keebio/irispad/rev8/rules.mk | 1 - keyboards/keebio/nyquist/rev4/keyboard.json | 3 +++ keyboards/keebio/nyquist/rev4/rules.mk | 1 - keyboards/keebio/nyquist/rev5/keyboard.json | 3 +++ keyboards/keebio/nyquist/rev5/rules.mk | 1 - keyboards/keebio/sinc/rev3/keyboard.json | 3 +++ keyboards/keebio/sinc/rev3/rules.mk | 1 - keyboards/keebio/sinc/rev4/keyboard.json | 3 +++ keyboards/keebio/sinc/rev4/rules.mk | 1 - keyboards/keycapsss/3w6_2040/keyboard.json | 3 +++ keyboards/keycapsss/3w6_2040/rules.mk | 1 - keyboards/keychron/q11/ansi_encoder/rules.mk | 1 - keyboards/keychron/q11/info.json | 3 +++ keyboards/keychron/q11/iso_encoder/rules.mk | 1 - keyboards/meetlab/kafkasplit/keyboard.json | 3 +++ keyboards/meetlab/kafkasplit/rules.mk | 1 - keyboards/mlego/m60_split/rev1/keyboard.json | 3 +++ keyboards/mlego/m60_split/rev1/rules.mk | 1 - keyboards/mlego/m60_split/rev2/keyboard.json | 3 +++ keyboards/mlego/m60_split/rev2/rules.mk | 1 - keyboards/phoenix/keyboard.json | 5 ++++- keyboards/phoenix/rules.mk | 1 - keyboards/pica40/rev2/keyboard.json | 3 +++ keyboards/pica40/rev2/rules.mk | 1 - keyboards/pmk/posey_split/v4/keyboard.json | 3 +++ keyboards/pmk/posey_split/v4/rules.mk | 1 - keyboards/pmk/posey_split/v5/keyboard.json | 3 +++ keyboards/pmk/posey_split/v5/rules.mk | 1 - keyboards/pmk/recore/v3/keyboard.json | 3 +++ keyboards/pmk/recore/v3/rules.mk | 1 - keyboards/quokka/keyboard.json | 5 ++++- keyboards/quokka/rules.mk | 1 - keyboards/redox/rev1/proton_c/keyboard.json | 5 +++++ keyboards/redox/rev1/proton_c/rules.mk | 2 -- keyboards/rgbkb/mun/rev1/keyboard.json | 3 +++ keyboards/rgbkb/mun/rev1/rules.mk | 1 - keyboards/rgbkb/sol3/rev1/keyboard.json | 3 +++ keyboards/rgbkb/sol3/rev1/rules.mk | 1 - keyboards/spleeb/keyboard.json | 3 +++ keyboards/spleeb/rules.mk | 1 - keyboards/splitkb/kyria/rev1/proton_c/keyboard.json | 3 +++ keyboards/splitkb/kyria/rev1/proton_c/rules.mk | 1 - keyboards/splitkb/kyria/rev2/proton_c/keyboard.json | 3 +++ keyboards/splitkb/kyria/rev2/proton_c/rules.mk | 1 - keyboards/stront/keyboard.json | 3 +++ keyboards/stront/rules.mk | 2 -- keyboards/supersplit/rules.mk | 1 - keyboards/tkw/grandiceps/info.json | 3 +++ keyboards/tkw/grandiceps/rules.mk | 2 -- keyboards/tweetydabird/lotus58/rp2040_ce/keyboard.json | 3 +++ keyboards/tweetydabird/lotus58/rp2040_ce/rules.mk | 1 - keyboards/tzarc/djinn/info.json | 3 +++ keyboards/tzarc/djinn/rules.mk | 2 -- keyboards/yoichiro/lunakey_pico/keyboard.json | 5 ++++- keyboards/yoichiro/lunakey_pico/rules.mk | 1 - keyboards/ziptyze/lets_split_v3/keyboard.json | 3 +++ keyboards/ziptyze/lets_split_v3/rules.mk | 1 - keyboards/zvecr/split_blackpill/keyboard.json | 3 +++ keyboards/zvecr/split_blackpill/rules.mk | 1 - keyboards/zvecr/zv48/f401/rules.mk | 1 - keyboards/zvecr/zv48/f411/rules.mk | 1 - keyboards/zvecr/zv48/info.json | 3 +++ 127 files changed, 202 insertions(+), 86 deletions(-) delete mode 100644 keyboards/ai03/altair/rules.mk delete mode 100644 keyboards/ai03/altair_x/rules.mk delete mode 100644 keyboards/aidansmithdotdev/sango/rules.mk delete mode 100644 keyboards/arrowmechanics/wings/rules.mk delete mode 100644 keyboards/beekeeb/piantor/rules.mk delete mode 100644 keyboards/beekeeb/piantor_pro/rules.mk delete mode 100644 keyboards/budgy/rules.mk delete mode 100644 keyboards/cantor/rules.mk delete mode 100644 keyboards/chew/rules.mk delete mode 100644 keyboards/controllerworks/mini36/rules.mk delete mode 100644 keyboards/controllerworks/mini42/rules.mk delete mode 100644 keyboards/elcantorhs/rules.mk delete mode 100644 keyboards/era/sirind/tomak/rules.mk delete mode 100644 keyboards/gregandcin/teaqueen/rules.mk delete mode 100644 keyboards/handwired/alcor_dactyl/rules.mk delete mode 100644 keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk delete mode 100644 keyboards/handwired/jankrp2040dactyl/rules.mk delete mode 100644 keyboards/handwired/riblee_split/rules.mk delete mode 100644 keyboards/handwired/split65/stm32/rules.mk delete mode 100644 keyboards/handwired/tractyl_manuform/5x6_right/f303/rules.mk delete mode 100644 keyboards/input_club/ergodox_infinity/rules.mk delete mode 100644 keyboards/janus/rules.mk delete mode 100644 keyboards/jaykeeb/kamigakushi/rules.mk delete mode 100644 keyboards/junco/rev1/rules.mk delete mode 100644 keyboards/kaly/kaly42/rules.mk delete mode 100644 keyboards/karn/rules.mk delete mode 100644 keyboards/keebio/cepstrum/rev1/rules.mk delete mode 100644 keyboards/keebio/chiri_ce/rev1/rules.mk delete mode 100644 keyboards/keebio/iris/rev8/rules.mk delete mode 100644 keyboards/keebio/iris_ce/rev1/rules.mk delete mode 100644 keyboards/keebio/irispad/rev8/rules.mk delete mode 100644 keyboards/keebio/nyquist/rev4/rules.mk delete mode 100644 keyboards/keebio/nyquist/rev5/rules.mk delete mode 100644 keyboards/keebio/sinc/rev3/rules.mk delete mode 100644 keyboards/keebio/sinc/rev4/rules.mk delete mode 100644 keyboards/keychron/q11/ansi_encoder/rules.mk delete mode 100755 keyboards/keychron/q11/iso_encoder/rules.mk delete mode 100644 keyboards/meetlab/kafkasplit/rules.mk delete mode 100644 keyboards/mlego/m60_split/rev1/rules.mk delete mode 100644 keyboards/mlego/m60_split/rev2/rules.mk delete mode 100644 keyboards/phoenix/rules.mk delete mode 100644 keyboards/pica40/rev2/rules.mk delete mode 100644 keyboards/pmk/posey_split/v4/rules.mk delete mode 100644 keyboards/pmk/posey_split/v5/rules.mk delete mode 100644 keyboards/pmk/recore/v3/rules.mk delete mode 100644 keyboards/quokka/rules.mk delete mode 100644 keyboards/redox/rev1/proton_c/rules.mk delete mode 100644 keyboards/spleeb/rules.mk delete mode 100644 keyboards/splitkb/kyria/rev1/proton_c/rules.mk delete mode 100644 keyboards/splitkb/kyria/rev2/proton_c/rules.mk delete mode 100644 keyboards/supersplit/rules.mk delete mode 100644 keyboards/tweetydabird/lotus58/rp2040_ce/rules.mk delete mode 100644 keyboards/yoichiro/lunakey_pico/rules.mk delete mode 100644 keyboards/ziptyze/lets_split_v3/rules.mk delete mode 100644 keyboards/zvecr/split_blackpill/rules.mk delete mode 100644 keyboards/zvecr/zv48/f401/rules.mk delete mode 100644 keyboards/zvecr/zv48/f411/rules.mk diff --git a/keyboards/ai03/altair/keyboard.json b/keyboards/ai03/altair/keyboard.json index 9626716cde..cf551ab79e 100644 --- a/keyboards/ai03/altair/keyboard.json +++ b/keyboards/ai03/altair/keyboard.json @@ -37,6 +37,9 @@ "rows": ["GP5", "GP16", "GP20", "GP28", "GP14"] } }, + "serial": { + "driver": "vendor" + }, "soft_serial_pin": "GP29" }, "url": "https://ai03.com/", diff --git a/keyboards/ai03/altair/rules.mk b/keyboards/ai03/altair/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/ai03/altair/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/ai03/altair_x/keyboard.json b/keyboards/ai03/altair_x/keyboard.json index d1448ab8c2..1568f15a5a 100644 --- a/keyboards/ai03/altair_x/keyboard.json +++ b/keyboards/ai03/altair_x/keyboard.json @@ -37,6 +37,9 @@ "rows": ["GP16", "GP20", "GP28", "GP14"] } }, + "serial": { + "driver": "vendor" + }, "soft_serial_pin": "GP29" }, "url": "https://ai03.com/", diff --git a/keyboards/ai03/altair_x/rules.mk b/keyboards/ai03/altair_x/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/ai03/altair_x/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/aidansmithdotdev/sango/keyboard.json b/keyboards/aidansmithdotdev/sango/keyboard.json index 6c62ac9bd2..c3d34ce6d7 100644 --- a/keyboards/aidansmithdotdev/sango/keyboard.json +++ b/keyboards/aidansmithdotdev/sango/keyboard.json @@ -127,6 +127,9 @@ "rows": ["GP2", "GP3", "GP4", "GP5", "GP6"] } }, + "serial": { + "driver": "vendor" + }, "soft_serial_pin": "GP1" }, "url": "https://aidansmith.dev", diff --git a/keyboards/aidansmithdotdev/sango/rules.mk b/keyboards/aidansmithdotdev/sango/rules.mk deleted file mode 100644 index 743228e94b..0000000000 --- a/keyboards/aidansmithdotdev/sango/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor \ No newline at end of file diff --git a/keyboards/arrowmechanics/wings/keyboard.json b/keyboards/arrowmechanics/wings/keyboard.json index 1da4077baa..f0f0a9c442 100644 --- a/keyboards/arrowmechanics/wings/keyboard.json +++ b/keyboards/arrowmechanics/wings/keyboard.json @@ -188,6 +188,9 @@ }, "split": { "enabled": true, + "serial": { + "driver": "vendor" + }, "transport": { "sync": { "layer_state": true, diff --git a/keyboards/arrowmechanics/wings/rules.mk b/keyboards/arrowmechanics/wings/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/arrowmechanics/wings/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/beekeeb/piantor/keyboard.json b/keyboards/beekeeb/piantor/keyboard.json index e4ecd4207e..77bfc3678c 100644 --- a/keyboards/beekeeb/piantor/keyboard.json +++ b/keyboards/beekeeb/piantor/keyboard.json @@ -40,6 +40,9 @@ ["GP15", "GP14", "GP16", null, null, null] ] } + }, + "serial": { + "driver": "vendor" } }, "community_layouts": [ diff --git a/keyboards/beekeeb/piantor/rules.mk b/keyboards/beekeeb/piantor/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/beekeeb/piantor/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/beekeeb/piantor_pro/keyboard.json b/keyboards/beekeeb/piantor_pro/keyboard.json index c85247550e..ad4890ae68 100644 --- a/keyboards/beekeeb/piantor_pro/keyboard.json +++ b/keyboards/beekeeb/piantor_pro/keyboard.json @@ -24,7 +24,10 @@ "vid": "0xBEEB" }, "split": { - "enabled": true + "enabled": true, + "serial": { + "driver": "vendor" + } }, "community_layouts": [ "split_3x6_3" ], "layouts": { diff --git a/keyboards/beekeeb/piantor_pro/rules.mk b/keyboards/beekeeb/piantor_pro/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/beekeeb/piantor_pro/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/boardsource/lulu/rp2040/keyboard.json b/keyboards/boardsource/lulu/rp2040/keyboard.json index a1e8db89a9..db0b7a50c6 100644 --- a/keyboards/boardsource/lulu/rp2040/keyboard.json +++ b/keyboards/boardsource/lulu/rp2040/keyboard.json @@ -10,6 +10,11 @@ {"pin_a": "GP8", "pin_b": "GP9"} ] }, + "split": { + "serial": { + "driver": "vendor" + } + }, "ws2812": { "pin": "GP29", "driver": "vendor" diff --git a/keyboards/boardsource/lulu/rp2040/rules.mk b/keyboards/boardsource/lulu/rp2040/rules.mk index 118c27fc6a..de6a3d8afc 100644 --- a/keyboards/boardsource/lulu/rp2040/rules.mk +++ b/keyboards/boardsource/lulu/rp2040/rules.mk @@ -1,2 +1 @@ -SERIAL_DRIVER = vendor SRC += lib/oled.c diff --git a/keyboards/boardsource/unicorne/keyboard.json b/keyboards/boardsource/unicorne/keyboard.json index 4fb63de9e3..f9d1a5e666 100644 --- a/keyboards/boardsource/unicorne/keyboard.json +++ b/keyboards/boardsource/unicorne/keyboard.json @@ -21,6 +21,9 @@ "split": { "enabled": true, "soft_serial_pin": "GP0", + "serial": { + "driver": "vendor" + }, "transport": { "sync": { "layer_state": true diff --git a/keyboards/boardsource/unicorne/rules.mk b/keyboards/boardsource/unicorne/rules.mk index 448962cf00..53d7e1b681 100644 --- a/keyboards/boardsource/unicorne/rules.mk +++ b/keyboards/boardsource/unicorne/rules.mk @@ -1,3 +1,2 @@ -SERIAL_DRIVER = vendor POINTING_DEVICE_DRIVER = analog_joystick SRC += lib/oled.c diff --git a/keyboards/budgy/keyboard.json b/keyboards/budgy/keyboard.json index 645336e8ad..0dc45c9da0 100644 --- a/keyboards/budgy/keyboard.json +++ b/keyboards/budgy/keyboard.json @@ -37,6 +37,9 @@ ["GP18", "GP17", null, null, null] ] } + }, + "serial": { + "driver": "vendor" } }, "community_layouts": ["split_3x5_2"], diff --git a/keyboards/budgy/rules.mk b/keyboards/budgy/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/budgy/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/cantor/keyboard.json b/keyboards/cantor/keyboard.json index a9d84e6c8f..26b79c0280 100644 --- a/keyboards/cantor/keyboard.json +++ b/keyboards/cantor/keyboard.json @@ -39,6 +39,9 @@ ["A0", "A1", "A2", null, null, null] ] } + }, + "serial": { + "driver": "usart" } }, "community_layouts": ["split_3x6_3"], diff --git a/keyboards/cantor/rules.mk b/keyboards/cantor/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/cantor/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/chew/keyboard.json b/keyboards/chew/keyboard.json index f6ddaa627d..94617257e8 100644 --- a/keyboards/chew/keyboard.json +++ b/keyboards/chew/keyboard.json @@ -32,6 +32,9 @@ ] } }, + "serial": { + "driver": "vendor" + }, "transport": { "watchdog": true } diff --git a/keyboards/chew/rules.mk b/keyboards/chew/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/chew/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/controllerworks/mini36/keyboard.json b/keyboards/controllerworks/mini36/keyboard.json index a3b5365109..dc0f63638f 100644 --- a/keyboards/controllerworks/mini36/keyboard.json +++ b/keyboards/controllerworks/mini36/keyboard.json @@ -40,6 +40,9 @@ } }, "soft_serial_pin": "GP1", + "serial": { + "driver": "vendor" + }, "transport": { "protocol": "serial", "sync": { diff --git a/keyboards/controllerworks/mini36/rules.mk b/keyboards/controllerworks/mini36/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/controllerworks/mini36/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/controllerworks/mini42/keyboard.json b/keyboards/controllerworks/mini42/keyboard.json index 5d1d56db1a..a1dc0df34c 100644 --- a/keyboards/controllerworks/mini42/keyboard.json +++ b/keyboards/controllerworks/mini42/keyboard.json @@ -40,6 +40,9 @@ } }, "soft_serial_pin": "GP1", + "serial": { + "driver": "vendor" + }, "transport": { "protocol": "serial", "sync": { diff --git a/keyboards/controllerworks/mini42/rules.mk b/keyboards/controllerworks/mini42/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/controllerworks/mini42/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/elcantorhs/keyboard.json b/keyboards/elcantorhs/keyboard.json index 6ed958463e..c0d52b915b 100644 --- a/keyboards/elcantorhs/keyboard.json +++ b/keyboards/elcantorhs/keyboard.json @@ -37,6 +37,9 @@ ["B12", "A0", "A1", "A2", null, null] ] } + }, + "serial": { + "driver": "usart" } }, "layouts": { diff --git a/keyboards/elcantorhs/rules.mk b/keyboards/elcantorhs/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/elcantorhs/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/era/sirind/tomak/keyboard.json b/keyboards/era/sirind/tomak/keyboard.json index 1d0d5b79b2..a2f545cf5e 100644 --- a/keyboards/era/sirind/tomak/keyboard.json +++ b/keyboards/era/sirind/tomak/keyboard.json @@ -182,6 +182,9 @@ "rows": ["GP10", "GP11", "GP12", "GP28", "GP19", "GP16"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync": { "indicators": true, diff --git a/keyboards/era/sirind/tomak/rules.mk b/keyboards/era/sirind/tomak/rules.mk deleted file mode 100644 index 743228e94b..0000000000 --- a/keyboards/era/sirind/tomak/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor \ No newline at end of file diff --git a/keyboards/gregandcin/teaqueen/keyboard.json b/keyboards/gregandcin/teaqueen/keyboard.json index 841c524e62..e4903ea6c0 100644 --- a/keyboards/gregandcin/teaqueen/keyboard.json +++ b/keyboards/gregandcin/teaqueen/keyboard.json @@ -25,7 +25,10 @@ "rows": ["GP5", "GP6", "GP7", "GP8", "GP9"] } }, - "soft_serial_pin": "GP3" + "soft_serial_pin": "GP3", + "serial": { + "driver": "vendor" + } }, "url": "https://github.com/gregandcin/teaqueen", "usb": { diff --git a/keyboards/gregandcin/teaqueen/rules.mk b/keyboards/gregandcin/teaqueen/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/gregandcin/teaqueen/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/handwired/alcor_dactyl/keyboard.json b/keyboards/handwired/alcor_dactyl/keyboard.json index c179278c09..b38d39bfcc 100644 --- a/keyboards/handwired/alcor_dactyl/keyboard.json +++ b/keyboards/handwired/alcor_dactyl/keyboard.json @@ -19,7 +19,10 @@ "rgb_matrix": true }, "split": { - "enabled": true + "enabled": true, + "serial": { + "driver": "vendor" + } }, "diode_direction": "COL2ROW", "matrix_pins": { diff --git a/keyboards/handwired/alcor_dactyl/rules.mk b/keyboards/handwired/alcor_dactyl/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/handwired/alcor_dactyl/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/keyboard.json b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/keyboard.json index 73ce0d27d5..517620097b 100644 --- a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/keyboard.json +++ b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/keyboard.json @@ -8,6 +8,9 @@ "enabled": true, "bootmagic": { "matrix": [7, 0] + }, + "serial": { + "driver": "usart" } }, "development_board": "blackpill_f411", diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk deleted file mode 100644 index c018471cad..0000000000 --- a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# split settings -# https://beta.docs.qmk.fm/developing-qmk/c-development/hardware_drivers/serial_driver -SERIAL_DRIVER = usart diff --git a/keyboards/handwired/jankrp2040dactyl/keyboard.json b/keyboards/handwired/jankrp2040dactyl/keyboard.json index c4543b5d12..0d155a70bd 100644 --- a/keyboards/handwired/jankrp2040dactyl/keyboard.json +++ b/keyboards/handwired/jankrp2040dactyl/keyboard.json @@ -6,7 +6,10 @@ "diode_direction": "COL2ROW", "split": { "enabled": true, - "soft_serial_pin": "GP0" + "soft_serial_pin": "GP0", + "serial": { + "driver": "vendor" + } }, "features": { diff --git a/keyboards/handwired/jankrp2040dactyl/rules.mk b/keyboards/handwired/jankrp2040dactyl/rules.mk deleted file mode 100644 index 743228e94b..0000000000 --- a/keyboards/handwired/jankrp2040dactyl/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor \ No newline at end of file diff --git a/keyboards/handwired/riblee_split/keyboard.json b/keyboards/handwired/riblee_split/keyboard.json index 49b5ca3a54..0a607036f9 100644 --- a/keyboards/handwired/riblee_split/keyboard.json +++ b/keyboards/handwired/riblee_split/keyboard.json @@ -25,6 +25,9 @@ }, "split": { "enabled": true, + "serial": { + "driver": "usart" + }, "transport": { "sync_matrix_state": true } diff --git a/keyboards/handwired/riblee_split/rules.mk b/keyboards/handwired/riblee_split/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/handwired/riblee_split/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/handwired/split65/stm32/keyboard.json b/keyboards/handwired/split65/stm32/keyboard.json index 6763c5eb88..4f2d069aed 100644 --- a/keyboards/handwired/split65/stm32/keyboard.json +++ b/keyboards/handwired/split65/stm32/keyboard.json @@ -7,7 +7,10 @@ "diode_direction": "COL2ROW", "split": { "enabled": true, - "soft_serial_pin": "A9" + "soft_serial_pin": "A9", + "serial": { + "driver": "usart" + } }, "development_board": "proton_c", "features": { diff --git a/keyboards/handwired/split65/stm32/rules.mk b/keyboards/handwired/split65/stm32/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/handwired/split65/stm32/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/keyboard.json b/keyboards/handwired/tractyl_manuform/5x6_right/f303/keyboard.json index 499390c610..a9bfd7ee55 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f303/keyboard.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f303/keyboard.json @@ -15,6 +15,11 @@ "audio": { "driver": "dac_additive" }, + "split": { + "serial": { + "driver": "usart" + } + }, "ws2812": { "pin": "A6", "driver": "pwm" diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/rules.mk b/keyboards/handwired/tractyl_manuform/5x6_right/f303/rules.mk deleted file mode 100644 index 22915ec000..0000000000 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f303/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# KEYBOARD_SHARED_EP = yes - -SERIAL_DRIVER = usart diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/keyboard.json b/keyboards/handwired/tractyl_manuform/5x6_right/f411/keyboard.json index 7182ee1701..65124f3a3d 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/keyboard.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/keyboard.json @@ -18,6 +18,11 @@ "audio": { "driver": "pwm_hardware" }, + "split": { + "serial": { + "driver": "usart" + } + }, "ws2812": { "pin": "A1", "driver": "pwm" diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/rules.mk b/keyboards/handwired/tractyl_manuform/5x6_right/f411/rules.mk index f26cbbced1..4aa582e7a2 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/rules.mk +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/rules.mk @@ -1,4 +1,2 @@ KEYBOARD_SHARED_EP = yes MOUSE_SHARED_EP = yes - -SERIAL_DRIVER = usart diff --git a/keyboards/input_club/ergodox_infinity/keyboard.json b/keyboards/input_club/ergodox_infinity/keyboard.json index fd89806b00..75778c3288 100644 --- a/keyboards/input_club/ergodox_infinity/keyboard.json +++ b/keyboards/input_club/ergodox_infinity/keyboard.json @@ -39,7 +39,10 @@ }, "diode_direction": "ROW2COL", "split": { - "enabled": true + "enabled": true, + "serial": { + "driver": "usart" + } }, "processor": "MK20DX256", "bootloader": "kiibohd", diff --git a/keyboards/input_club/ergodox_infinity/rules.mk b/keyboards/input_club/ergodox_infinity/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/input_club/ergodox_infinity/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/janus/keyboard.json b/keyboards/janus/keyboard.json index 29000b9ef2..8c4f522b86 100644 --- a/keyboards/janus/keyboard.json +++ b/keyboards/janus/keyboard.json @@ -25,7 +25,10 @@ "nkro": true }, "split": { - "enabled": true + "enabled": true, + "serial": { + "driver": "usart" + } }, "community_layouts": [ "split_3x5_2" diff --git a/keyboards/janus/rules.mk b/keyboards/janus/rules.mk deleted file mode 100644 index 59b74ac86b..0000000000 --- a/keyboards/janus/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart \ No newline at end of file diff --git a/keyboards/jaykeeb/kamigakushi/rules.mk b/keyboards/jaykeeb/kamigakushi/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/jaykeeb/kamigakushi/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/junco/rev1/keyboard.json b/keyboards/junco/rev1/keyboard.json index 855628d3b1..936a0bf29c 100644 --- a/keyboards/junco/rev1/keyboard.json +++ b/keyboards/junco/rev1/keyboard.json @@ -39,6 +39,9 @@ {"pin_a": "GP16", "pin_b": "GP17"} ] } + }, + "serial": { + "driver": "vendor" } }, "processor": "RP2040", diff --git a/keyboards/junco/rev1/rules.mk b/keyboards/junco/rev1/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/junco/rev1/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/kaly/kaly42/keyboard.json b/keyboards/kaly/kaly42/keyboard.json index 38de4ccea5..3115d051df 100644 --- a/keyboards/kaly/kaly42/keyboard.json +++ b/keyboards/kaly/kaly42/keyboard.json @@ -33,6 +33,9 @@ ["A0", "A1", "A2", "NO_PIN", "NO_PIN", "NO_PIN"] ] } + }, + "serial": { + "driver": "usart" } }, "url": "https://github.com/Dwctor/Kaly", diff --git a/keyboards/kaly/kaly42/rules.mk b/keyboards/kaly/kaly42/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/kaly/kaly42/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/karn/keyboard.json b/keyboards/karn/keyboard.json index b088f61425..1ddd8e5a98 100644 --- a/keyboards/karn/keyboard.json +++ b/keyboards/karn/keyboard.json @@ -21,7 +21,10 @@ "matrix": [0, 1] }, "split": { - "enabled": true + "enabled": true, + "serial": { + "driver": "usart" + } }, "layouts": { "LAYOUT": { diff --git a/keyboards/karn/rules.mk b/keyboards/karn/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/karn/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/keebio/cepstrum/rev1/keyboard.json b/keyboards/keebio/cepstrum/rev1/keyboard.json index 0b53d12792..27756784bc 100644 --- a/keyboards/keebio/cepstrum/rev1/keyboard.json +++ b/keyboards/keebio/cepstrum/rev1/keyboard.json @@ -15,6 +15,9 @@ "rows": ["GP2", "GP3", "GP5", "GP8", "GP19"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync": { "matrix_state": true diff --git a/keyboards/keebio/cepstrum/rev1/rules.mk b/keyboards/keebio/cepstrum/rev1/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/keebio/cepstrum/rev1/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/keebio/chiri_ce/rev1/keyboard.json b/keyboards/keebio/chiri_ce/rev1/keyboard.json index 8b46dd7d6d..f118a4dd1e 100644 --- a/keyboards/keebio/chiri_ce/rev1/keyboard.json +++ b/keyboards/keebio/chiri_ce/rev1/keyboard.json @@ -124,6 +124,9 @@ "rows": ["GP24", "GP23", "GP21", "GP3"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync_matrix_state": true } diff --git a/keyboards/keebio/chiri_ce/rev1/rules.mk b/keyboards/keebio/chiri_ce/rev1/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/keebio/chiri_ce/rev1/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/keebio/iris/rev8/keyboard.json b/keyboards/keebio/iris/rev8/keyboard.json index 85676067c0..07f9df260a 100644 --- a/keyboards/keebio/iris/rev8/keyboard.json +++ b/keyboards/keebio/iris/rev8/keyboard.json @@ -30,6 +30,9 @@ "rows": ["GP22", "GP19", "GP18", "GP17", "GP7"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync" :{ "matrix_state": true diff --git a/keyboards/keebio/iris/rev8/rules.mk b/keyboards/keebio/iris/rev8/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/keebio/iris/rev8/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/keebio/iris_ce/rev1/keyboard.json b/keyboards/keebio/iris_ce/rev1/keyboard.json index 6086f948b1..1f131e51bd 100644 --- a/keyboards/keebio/iris_ce/rev1/keyboard.json +++ b/keyboards/keebio/iris_ce/rev1/keyboard.json @@ -141,6 +141,9 @@ "rows": ["GP26", "GP24", "GP23", "GP21", "GP3"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync_matrix_state": true } diff --git a/keyboards/keebio/iris_ce/rev1/rules.mk b/keyboards/keebio/iris_ce/rev1/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/keebio/iris_ce/rev1/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/keebio/irispad/rev8/rules.mk b/keyboards/keebio/irispad/rev8/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/keebio/irispad/rev8/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/keebio/nyquist/rev4/keyboard.json b/keyboards/keebio/nyquist/rev4/keyboard.json index 804d1aa5d4..ada4824b1c 100644 --- a/keyboards/keebio/nyquist/rev4/keyboard.json +++ b/keyboards/keebio/nyquist/rev4/keyboard.json @@ -27,6 +27,9 @@ "rows": ["GP24", "GP17", "GP15", "GP14", "GP12"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync" :{ "matrix_state": true diff --git a/keyboards/keebio/nyquist/rev4/rules.mk b/keyboards/keebio/nyquist/rev4/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/keebio/nyquist/rev4/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/keebio/nyquist/rev5/keyboard.json b/keyboards/keebio/nyquist/rev5/keyboard.json index 83d88b37b8..fc03c00e29 100644 --- a/keyboards/keebio/nyquist/rev5/keyboard.json +++ b/keyboards/keebio/nyquist/rev5/keyboard.json @@ -31,6 +31,9 @@ "rows": ["GP24", "GP17", "GP15", "GP14", "GP12"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync" :{ "matrix_state": true diff --git a/keyboards/keebio/nyquist/rev5/rules.mk b/keyboards/keebio/nyquist/rev5/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/keebio/nyquist/rev5/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/keebio/sinc/rev3/keyboard.json b/keyboards/keebio/sinc/rev3/keyboard.json index da828dbb35..81b5e1c4c0 100644 --- a/keyboards/keebio/sinc/rev3/keyboard.json +++ b/keyboards/keebio/sinc/rev3/keyboard.json @@ -26,6 +26,9 @@ "rows": ["GP16", "GP19", "GP17", "GP9", "GP8", "GP26"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync": { "matrix_state": true diff --git a/keyboards/keebio/sinc/rev3/rules.mk b/keyboards/keebio/sinc/rev3/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/keebio/sinc/rev3/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/keebio/sinc/rev4/keyboard.json b/keyboards/keebio/sinc/rev4/keyboard.json index 15b28fb012..bfbceef02e 100644 --- a/keyboards/keebio/sinc/rev4/keyboard.json +++ b/keyboards/keebio/sinc/rev4/keyboard.json @@ -26,6 +26,9 @@ "rows": ["GP16", "GP19", "GP17", "GP9", "GP8", "GP26"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync": { "matrix_state": true diff --git a/keyboards/keebio/sinc/rev4/rules.mk b/keyboards/keebio/sinc/rev4/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/keebio/sinc/rev4/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/keycapsss/3w6_2040/keyboard.json b/keyboards/keycapsss/3w6_2040/keyboard.json index 88bc275a69..f29b3753c6 100644 --- a/keyboards/keycapsss/3w6_2040/keyboard.json +++ b/keyboards/keycapsss/3w6_2040/keyboard.json @@ -50,6 +50,9 @@ }, "split": { "enabled": true, + "serial": { + "driver": "vendor" + }, "transport": { "sync": { "indicators": true, diff --git a/keyboards/keycapsss/3w6_2040/rules.mk b/keyboards/keycapsss/3w6_2040/rules.mk index 7b11b23005..0cac88f7f7 100644 --- a/keyboards/keycapsss/3w6_2040/rules.mk +++ b/keyboards/keycapsss/3w6_2040/rules.mk @@ -1,2 +1 @@ -SERIAL_DRIVER = vendor POINTING_DEVICE_DRIVER = pimoroni_trackball diff --git a/keyboards/keychron/q11/ansi_encoder/rules.mk b/keyboards/keychron/q11/ansi_encoder/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/keychron/q11/ansi_encoder/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/keychron/q11/info.json b/keyboards/keychron/q11/info.json index 51a8e5937e..62d1119ebd 100755 --- a/keyboards/keychron/q11/info.json +++ b/keyboards/keychron/q11/info.json @@ -53,6 +53,9 @@ "rows": ["B5", "B4", "B3", "A15", "A14", "A13"] } }, + "serial": { + "driver": "usart" + }, "transport": { "sync" :{ "matrix_state": true diff --git a/keyboards/keychron/q11/iso_encoder/rules.mk b/keyboards/keychron/q11/iso_encoder/rules.mk deleted file mode 100755 index c6e2988321..0000000000 --- a/keyboards/keychron/q11/iso_encoder/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/meetlab/kafkasplit/keyboard.json b/keyboards/meetlab/kafkasplit/keyboard.json index d71d405f33..375d4f7a03 100644 --- a/keyboards/meetlab/kafkasplit/keyboard.json +++ b/keyboards/meetlab/kafkasplit/keyboard.json @@ -130,6 +130,9 @@ "rows": ["GP11", "GP13", "GP12", "GP14"] } }, + "serial": { + "driver": "vendor" + }, "transport": { "sync": { "indicators": true, diff --git a/keyboards/meetlab/kafkasplit/rules.mk b/keyboards/meetlab/kafkasplit/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/meetlab/kafkasplit/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/mlego/m60_split/rev1/keyboard.json b/keyboards/mlego/m60_split/rev1/keyboard.json index d0c6275dc9..b4753a1d9e 100644 --- a/keyboards/mlego/m60_split/rev1/keyboard.json +++ b/keyboards/mlego/m60_split/rev1/keyboard.json @@ -69,6 +69,9 @@ "rows": ["B1", "A4", "A5", "A6", "A7"] } }, + "serial": { + "driver": "usart" + }, "transport": { "sync": { "indicators": true, diff --git a/keyboards/mlego/m60_split/rev1/rules.mk b/keyboards/mlego/m60_split/rev1/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/mlego/m60_split/rev1/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/mlego/m60_split/rev2/keyboard.json b/keyboards/mlego/m60_split/rev2/keyboard.json index 48d962f9cc..08dcd19573 100644 --- a/keyboards/mlego/m60_split/rev2/keyboard.json +++ b/keyboards/mlego/m60_split/rev2/keyboard.json @@ -62,6 +62,9 @@ "rows": ["B1", "A4", "A5", "A6", "A7"] } }, + "serial": { + "driver": "usart" + }, "transport": { "sync": { "indicators": true, diff --git a/keyboards/mlego/m60_split/rev2/rules.mk b/keyboards/mlego/m60_split/rev2/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/mlego/m60_split/rev2/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/phoenix/keyboard.json b/keyboards/phoenix/keyboard.json index 51be9790fb..405b0ffd0a 100644 --- a/keyboards/phoenix/keyboard.json +++ b/keyboards/phoenix/keyboard.json @@ -30,7 +30,10 @@ "diode_direction": "ROW2COL", "split": { "enabled": true, - "soft_serial_pin": "A9" + "soft_serial_pin": "A9", + "serial": { + "driver": "usart" + } }, "processor": "STM32F401", "bootloader": "stm32-dfu", diff --git a/keyboards/phoenix/rules.mk b/keyboards/phoenix/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/phoenix/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/pica40/rev2/keyboard.json b/keyboards/pica40/rev2/keyboard.json index 630d6da467..f4cc4c2697 100644 --- a/keyboards/pica40/rev2/keyboard.json +++ b/keyboards/pica40/rev2/keyboard.json @@ -40,6 +40,9 @@ "right": { "rotary": [] } + }, + "serial": { + "driver": "vendor" } }, "encoder": { diff --git a/keyboards/pica40/rev2/rules.mk b/keyboards/pica40/rev2/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/pica40/rev2/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/pmk/posey_split/v4/keyboard.json b/keyboards/pmk/posey_split/v4/keyboard.json index 016c4d7122..e27991783d 100644 --- a/keyboards/pmk/posey_split/v4/keyboard.json +++ b/keyboards/pmk/posey_split/v4/keyboard.json @@ -42,6 +42,9 @@ "enabled": true, "handedness": { "pin": "GP18" + }, + "serial": { + "driver": "vendor" } }, "tags": ["split"], diff --git a/keyboards/pmk/posey_split/v4/rules.mk b/keyboards/pmk/posey_split/v4/rules.mk deleted file mode 100644 index 743228e94b..0000000000 --- a/keyboards/pmk/posey_split/v4/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor \ No newline at end of file diff --git a/keyboards/pmk/posey_split/v5/keyboard.json b/keyboards/pmk/posey_split/v5/keyboard.json index 9ef7d0af02..02c04dbba2 100644 --- a/keyboards/pmk/posey_split/v5/keyboard.json +++ b/keyboards/pmk/posey_split/v5/keyboard.json @@ -42,6 +42,9 @@ "enabled": true, "handedness": { "pin": "GP18" + }, + "serial": { + "driver": "vendor" } }, "tags": ["split"], diff --git a/keyboards/pmk/posey_split/v5/rules.mk b/keyboards/pmk/posey_split/v5/rules.mk deleted file mode 100644 index 743228e94b..0000000000 --- a/keyboards/pmk/posey_split/v5/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor \ No newline at end of file diff --git a/keyboards/pmk/recore/v3/keyboard.json b/keyboards/pmk/recore/v3/keyboard.json index 6bc095daa5..f21708adc5 100644 --- a/keyboards/pmk/recore/v3/keyboard.json +++ b/keyboards/pmk/recore/v3/keyboard.json @@ -40,6 +40,9 @@ "enabled": true, "handedness": { "pin": "GP18" + }, + "serial": { + "driver": "vendor" } }, "tags": ["ortho", "split"], diff --git a/keyboards/pmk/recore/v3/rules.mk b/keyboards/pmk/recore/v3/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/pmk/recore/v3/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/quokka/keyboard.json b/keyboards/quokka/keyboard.json index 094e3e496e..a92a113f3e 100644 --- a/keyboards/quokka/keyboard.json +++ b/keyboards/quokka/keyboard.json @@ -66,7 +66,10 @@ }, "split": { "enabled": true, - "soft_serial_pin": "GP0" + "soft_serial_pin": "GP0", + "serial": { + "driver": "vendor" + } }, "url": "https://github.com/dlford/quokka", "usb": { diff --git a/keyboards/quokka/rules.mk b/keyboards/quokka/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/quokka/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/redox/rev1/proton_c/keyboard.json b/keyboards/redox/rev1/proton_c/keyboard.json index 48bec82627..9554630375 100644 --- a/keyboards/redox/rev1/proton_c/keyboard.json +++ b/keyboards/redox/rev1/proton_c/keyboard.json @@ -2,6 +2,11 @@ "usb": { "device_version": "1.0.1" }, + "split": { + "serial": { + "driver": "usart" + } + }, "ws2812": { "pin": "A9" }, diff --git a/keyboards/redox/rev1/proton_c/rules.mk b/keyboards/redox/rev1/proton_c/rules.mk deleted file mode 100644 index d45b778a1a..0000000000 --- a/keyboards/redox/rev1/proton_c/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# specific to using the serial serial driver -SERIAL_DRIVER = usart diff --git a/keyboards/rgbkb/mun/rev1/keyboard.json b/keyboards/rgbkb/mun/rev1/keyboard.json index cf988d8f95..7eae34c18f 100644 --- a/keyboards/rgbkb/mun/rev1/keyboard.json +++ b/keyboards/rgbkb/mun/rev1/keyboard.json @@ -122,6 +122,9 @@ "layer_state": true, "matrix_state": true } + }, + "serial": { + "driver": "usart" } }, "processor": "STM32F303", diff --git a/keyboards/rgbkb/mun/rev1/rules.mk b/keyboards/rgbkb/mun/rev1/rules.mk index dad85ac483..da4bbf0a63 100644 --- a/keyboards/rgbkb/mun/rev1/rules.mk +++ b/keyboards/rgbkb/mun/rev1/rules.mk @@ -4,5 +4,4 @@ SRC += touch_encoder.c SRC += common_oled.c I2C_DRIVER_REQUIRED = yes -SERIAL_DRIVER = usart OPT = 3 diff --git a/keyboards/rgbkb/sol3/rev1/keyboard.json b/keyboards/rgbkb/sol3/rev1/keyboard.json index 54e57e3f8f..2ff3b03b0a 100644 --- a/keyboards/rgbkb/sol3/rev1/keyboard.json +++ b/keyboards/rgbkb/sol3/rev1/keyboard.json @@ -146,6 +146,9 @@ "rows": ["B15", "B14", "A8", "A13", "A7", null] } }, + "serial": { + "driver": "usart" + }, "transport": { "sync": { "indicators": true, diff --git a/keyboards/rgbkb/sol3/rev1/rules.mk b/keyboards/rgbkb/sol3/rev1/rules.mk index dad85ac483..da4bbf0a63 100644 --- a/keyboards/rgbkb/sol3/rev1/rules.mk +++ b/keyboards/rgbkb/sol3/rev1/rules.mk @@ -4,5 +4,4 @@ SRC += touch_encoder.c SRC += common_oled.c I2C_DRIVER_REQUIRED = yes -SERIAL_DRIVER = usart OPT = 3 diff --git a/keyboards/spleeb/keyboard.json b/keyboards/spleeb/keyboard.json index 7b92316de2..4d137ef10d 100644 --- a/keyboards/spleeb/keyboard.json +++ b/keyboards/spleeb/keyboard.json @@ -43,6 +43,9 @@ "layer_state": true, "modifiers": true } + }, + "serial": { + "driver": "vendor" } }, "url": "https://github.com/chrishoage/spleeb", diff --git a/keyboards/spleeb/rules.mk b/keyboards/spleeb/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/spleeb/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/splitkb/kyria/rev1/proton_c/keyboard.json b/keyboards/splitkb/kyria/rev1/proton_c/keyboard.json index a7181fef8d..e1308bb9ec 100644 --- a/keyboards/splitkb/kyria/rev1/proton_c/keyboard.json +++ b/keyboards/splitkb/kyria/rev1/proton_c/keyboard.json @@ -17,6 +17,9 @@ {"pin_a": "B0", "pin_b": "B4"} ] } + }, + "serial": { + "driver": "usart" } }, "ws2812": { diff --git a/keyboards/splitkb/kyria/rev1/proton_c/rules.mk b/keyboards/splitkb/kyria/rev1/proton_c/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/splitkb/kyria/rev1/proton_c/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/splitkb/kyria/rev2/proton_c/keyboard.json b/keyboards/splitkb/kyria/rev2/proton_c/keyboard.json index 43a3d532f2..94cb7993d2 100644 --- a/keyboards/splitkb/kyria/rev2/proton_c/keyboard.json +++ b/keyboards/splitkb/kyria/rev2/proton_c/keyboard.json @@ -26,6 +26,9 @@ "cols": ["B1", "B0", "B9", "B15", "B14", "B13", "B8", "A0"], "rows": ["B5", "B4", "B3", "B2"] } + }, + "serial": { + "driver": "usart" } }, "ws2812": { diff --git a/keyboards/splitkb/kyria/rev2/proton_c/rules.mk b/keyboards/splitkb/kyria/rev2/proton_c/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/splitkb/kyria/rev2/proton_c/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/stront/keyboard.json b/keyboards/stront/keyboard.json index 5055a4fb30..573730a12b 100644 --- a/keyboards/stront/keyboard.json +++ b/keyboards/stront/keyboard.json @@ -68,6 +68,9 @@ "matrix_state": true, "modifiers": true } + }, + "serial": { + "driver": "vendor" } }, "encoder": { diff --git a/keyboards/stront/rules.mk b/keyboards/stront/rules.mk index 61d59017cb..5c88bf132a 100644 --- a/keyboards/stront/rules.mk +++ b/keyboards/stront/rules.mk @@ -1,5 +1,3 @@ -SERIAL_DRIVER = vendor - POINTING_DEVICE_DRIVER = cirque_pinnacle_spi QUANTUM_PAINTER_DRIVERS += st7789_spi diff --git a/keyboards/supersplit/rules.mk b/keyboards/supersplit/rules.mk deleted file mode 100644 index a4f16a0b6b..0000000000 --- a/keyboards/supersplit/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = bitbang diff --git a/keyboards/tkw/grandiceps/info.json b/keyboards/tkw/grandiceps/info.json index 13bc1e7acf..c2a198835f 100644 --- a/keyboards/tkw/grandiceps/info.json +++ b/keyboards/tkw/grandiceps/info.json @@ -58,6 +58,9 @@ "cols": ["B0", "A7", "A3", "A5", "A4", "A2"], "rows": ["B12", "A6", "B13", "B9", "B8"] } + }, + "serial": { + "driver": "usart" } }, "qmk": { diff --git a/keyboards/tkw/grandiceps/rules.mk b/keyboards/tkw/grandiceps/rules.mk index 01fa521763..ab8aeff268 100644 --- a/keyboards/tkw/grandiceps/rules.mk +++ b/keyboards/tkw/grandiceps/rules.mk @@ -1,3 +1 @@ -SERIAL_DRIVER = usart - DEFAULT_FOLDER = tkw/grandiceps/rev1 diff --git a/keyboards/tweetydabird/lotus58/rp2040_ce/keyboard.json b/keyboards/tweetydabird/lotus58/rp2040_ce/keyboard.json index c8bf711747..24f27c276a 100644 --- a/keyboards/tweetydabird/lotus58/rp2040_ce/keyboard.json +++ b/keyboards/tweetydabird/lotus58/rp2040_ce/keyboard.json @@ -17,6 +17,9 @@ ] } }, + "serial": { + "driver": "vendor" + }, "soft_serial_pin": "GP1", "handedness": { "pin": "GP9" diff --git a/keyboards/tweetydabird/lotus58/rp2040_ce/rules.mk b/keyboards/tweetydabird/lotus58/rp2040_ce/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/tweetydabird/lotus58/rp2040_ce/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/tzarc/djinn/info.json b/keyboards/tzarc/djinn/info.json index b173a18de1..8f0c0bc75f 100644 --- a/keyboards/tzarc/djinn/info.json +++ b/keyboards/tzarc/djinn/info.json @@ -54,6 +54,9 @@ ] } }, + "serial": { + "driver": "usart" + }, "transport": { "sync": { "activity": true, diff --git a/keyboards/tzarc/djinn/rules.mk b/keyboards/tzarc/djinn/rules.mk index 78912d16d0..d5060d9814 100644 --- a/keyboards/tzarc/djinn/rules.mk +++ b/keyboards/tzarc/djinn/rules.mk @@ -1,7 +1,5 @@ CUSTOM_MATRIX = lite -SERIAL_DRIVER = usart - CIE1931_CURVE = yes QUANTUM_PAINTER_DRIVERS = ili9341_spi diff --git a/keyboards/yoichiro/lunakey_pico/keyboard.json b/keyboards/yoichiro/lunakey_pico/keyboard.json index d80aaf0612..39070d615a 100644 --- a/keyboards/yoichiro/lunakey_pico/keyboard.json +++ b/keyboards/yoichiro/lunakey_pico/keyboard.json @@ -47,7 +47,10 @@ "max_brightness": 255 }, "split": { - "enabled": true + "enabled": true, + "serial": { + "driver": "vendor" + } }, "ws2812": { "pin": "GP6", diff --git a/keyboards/yoichiro/lunakey_pico/rules.mk b/keyboards/yoichiro/lunakey_pico/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/yoichiro/lunakey_pico/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/ziptyze/lets_split_v3/keyboard.json b/keyboards/ziptyze/lets_split_v3/keyboard.json index 3db8004756..ca53b42240 100644 --- a/keyboards/ziptyze/lets_split_v3/keyboard.json +++ b/keyboards/ziptyze/lets_split_v3/keyboard.json @@ -22,6 +22,9 @@ "vid": "0x6F75" }, "split": { + "serial": { + "driver": "vendor" + }, "transport": { "sync": { "matrix_state": true diff --git a/keyboards/ziptyze/lets_split_v3/rules.mk b/keyboards/ziptyze/lets_split_v3/rules.mk deleted file mode 100644 index 161ec22b16..0000000000 --- a/keyboards/ziptyze/lets_split_v3/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = vendor diff --git a/keyboards/zvecr/split_blackpill/keyboard.json b/keyboards/zvecr/split_blackpill/keyboard.json index 71eb99b7d4..f5bc458d73 100644 --- a/keyboards/zvecr/split_blackpill/keyboard.json +++ b/keyboards/zvecr/split_blackpill/keyboard.json @@ -26,6 +26,9 @@ "handedness": { "pin": "B3" }, + "serial": { + "driver": "usart" + }, "soft_serial_pin": "B6", "bootmagic": { "matrix": [4, 0] diff --git a/keyboards/zvecr/split_blackpill/rules.mk b/keyboards/zvecr/split_blackpill/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/zvecr/split_blackpill/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/zvecr/zv48/f401/rules.mk b/keyboards/zvecr/zv48/f401/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/zvecr/zv48/f401/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/zvecr/zv48/f411/rules.mk b/keyboards/zvecr/zv48/f411/rules.mk deleted file mode 100644 index c6e2988321..0000000000 --- a/keyboards/zvecr/zv48/f411/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SERIAL_DRIVER = usart diff --git a/keyboards/zvecr/zv48/info.json b/keyboards/zvecr/zv48/info.json index e596eb6e79..6e4daad312 100644 --- a/keyboards/zvecr/zv48/info.json +++ b/keyboards/zvecr/zv48/info.json @@ -57,6 +57,9 @@ "bootmagic": { "matrix": [4, 0] }, + "serial": { + "driver": "usart" + }, "matrix_pins": { "right": { "cols": ["B10", "B15", "A10", "A15", "B3", "B4"],