Migrate SERIAL_DRIVER to json (#23925)

This commit is contained in:
Joel Challis 2024-07-13 13:12:35 +01:00 committed by GitHub
parent 1552cf2ddc
commit 26e84c513c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
127 changed files with 202 additions and 86 deletions

View file

@ -37,6 +37,9 @@
"rows": ["GP5", "GP16", "GP20", "GP28", "GP14"] "rows": ["GP5", "GP16", "GP20", "GP28", "GP14"]
} }
}, },
"serial": {
"driver": "vendor"
},
"soft_serial_pin": "GP29" "soft_serial_pin": "GP29"
}, },
"url": "https://ai03.com/", "url": "https://ai03.com/",

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -37,6 +37,9 @@
"rows": ["GP16", "GP20", "GP28", "GP14"] "rows": ["GP16", "GP20", "GP28", "GP14"]
} }
}, },
"serial": {
"driver": "vendor"
},
"soft_serial_pin": "GP29" "soft_serial_pin": "GP29"
}, },
"url": "https://ai03.com/", "url": "https://ai03.com/",

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -127,6 +127,9 @@
"rows": ["GP2", "GP3", "GP4", "GP5", "GP6"] "rows": ["GP2", "GP3", "GP4", "GP5", "GP6"]
} }
}, },
"serial": {
"driver": "vendor"
},
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"url": "https://aidansmith.dev", "url": "https://aidansmith.dev",

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -188,6 +188,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync": { "sync": {
"layer_state": true, "layer_state": true,

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -40,6 +40,9 @@
["GP15", "GP14", "GP16", null, null, null] ["GP15", "GP14", "GP16", null, null, null]
] ]
} }
},
"serial": {
"driver": "vendor"
} }
}, },
"community_layouts": [ "community_layouts": [

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -24,7 +24,10 @@
"vid": "0xBEEB" "vid": "0xBEEB"
}, },
"split": { "split": {
"enabled": true "enabled": true,
"serial": {
"driver": "vendor"
}
}, },
"community_layouts": [ "split_3x6_3" ], "community_layouts": [ "split_3x6_3" ],
"layouts": { "layouts": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -10,6 +10,11 @@
{"pin_a": "GP8", "pin_b": "GP9"} {"pin_a": "GP8", "pin_b": "GP9"}
] ]
}, },
"split": {
"serial": {
"driver": "vendor"
}
},
"ws2812": { "ws2812": {
"pin": "GP29", "pin": "GP29",
"driver": "vendor" "driver": "vendor"

View file

@ -1,2 +1 @@
SERIAL_DRIVER = vendor
SRC += lib/oled.c SRC += lib/oled.c

View file

@ -21,6 +21,9 @@
"split": { "split": {
"enabled": true, "enabled": true,
"soft_serial_pin": "GP0", "soft_serial_pin": "GP0",
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync": { "sync": {
"layer_state": true "layer_state": true

View file

@ -1,3 +1,2 @@
SERIAL_DRIVER = vendor
POINTING_DEVICE_DRIVER = analog_joystick POINTING_DEVICE_DRIVER = analog_joystick
SRC += lib/oled.c SRC += lib/oled.c

View file

@ -37,6 +37,9 @@
["GP18", "GP17", null, null, null] ["GP18", "GP17", null, null, null]
] ]
} }
},
"serial": {
"driver": "vendor"
} }
}, },
"community_layouts": ["split_3x5_2"], "community_layouts": ["split_3x5_2"],

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -39,6 +39,9 @@
["A0", "A1", "A2", null, null, null] ["A0", "A1", "A2", null, null, null]
] ]
} }
},
"serial": {
"driver": "usart"
} }
}, },
"community_layouts": ["split_3x6_3"], "community_layouts": ["split_3x6_3"],

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -32,6 +32,9 @@
] ]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"watchdog": true "watchdog": true
} }

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -40,6 +40,9 @@
} }
}, },
"soft_serial_pin": "GP1", "soft_serial_pin": "GP1",
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"protocol": "serial", "protocol": "serial",
"sync": { "sync": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -40,6 +40,9 @@
} }
}, },
"soft_serial_pin": "GP1", "soft_serial_pin": "GP1",
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"protocol": "serial", "protocol": "serial",
"sync": { "sync": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -37,6 +37,9 @@
["B12", "A0", "A1", "A2", null, null] ["B12", "A0", "A1", "A2", null, null]
] ]
} }
},
"serial": {
"driver": "usart"
} }
}, },
"layouts": { "layouts": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -182,6 +182,9 @@
"rows": ["GP10", "GP11", "GP12", "GP28", "GP19", "GP16"] "rows": ["GP10", "GP11", "GP12", "GP28", "GP19", "GP16"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync": { "sync": {
"indicators": true, "indicators": true,

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -25,7 +25,10 @@
"rows": ["GP5", "GP6", "GP7", "GP8", "GP9"] "rows": ["GP5", "GP6", "GP7", "GP8", "GP9"]
} }
}, },
"soft_serial_pin": "GP3" "soft_serial_pin": "GP3",
"serial": {
"driver": "vendor"
}
}, },
"url": "https://github.com/gregandcin/teaqueen", "url": "https://github.com/gregandcin/teaqueen",
"usb": { "usb": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -19,7 +19,10 @@
"rgb_matrix": true "rgb_matrix": true
}, },
"split": { "split": {
"enabled": true "enabled": true,
"serial": {
"driver": "vendor"
}
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"matrix_pins": { "matrix_pins": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -8,6 +8,9 @@
"enabled": true, "enabled": true,
"bootmagic": { "bootmagic": {
"matrix": [7, 0] "matrix": [7, 0]
},
"serial": {
"driver": "usart"
} }
}, },
"development_board": "blackpill_f411", "development_board": "blackpill_f411",

View file

@ -1,3 +0,0 @@
# split settings
# https://beta.docs.qmk.fm/developing-qmk/c-development/hardware_drivers/serial_driver
SERIAL_DRIVER = usart

View file

@ -6,7 +6,10 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"soft_serial_pin": "GP0" "soft_serial_pin": "GP0",
"serial": {
"driver": "vendor"
}
}, },
"features": { "features": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -25,6 +25,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"serial": {
"driver": "usart"
},
"transport": { "transport": {
"sync_matrix_state": true "sync_matrix_state": true
} }

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -7,7 +7,10 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"soft_serial_pin": "A9" "soft_serial_pin": "A9",
"serial": {
"driver": "usart"
}
}, },
"development_board": "proton_c", "development_board": "proton_c",
"features": { "features": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -15,6 +15,11 @@
"audio": { "audio": {
"driver": "dac_additive" "driver": "dac_additive"
}, },
"split": {
"serial": {
"driver": "usart"
}
},
"ws2812": { "ws2812": {
"pin": "A6", "pin": "A6",
"driver": "pwm" "driver": "pwm"

View file

@ -1,3 +0,0 @@
# KEYBOARD_SHARED_EP = yes
SERIAL_DRIVER = usart

View file

@ -18,6 +18,11 @@
"audio": { "audio": {
"driver": "pwm_hardware" "driver": "pwm_hardware"
}, },
"split": {
"serial": {
"driver": "usart"
}
},
"ws2812": { "ws2812": {
"pin": "A1", "pin": "A1",
"driver": "pwm" "driver": "pwm"

View file

@ -1,4 +1,2 @@
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
MOUSE_SHARED_EP = yes MOUSE_SHARED_EP = yes
SERIAL_DRIVER = usart

View file

@ -39,7 +39,10 @@
}, },
"diode_direction": "ROW2COL", "diode_direction": "ROW2COL",
"split": { "split": {
"enabled": true "enabled": true,
"serial": {
"driver": "usart"
}
}, },
"processor": "MK20DX256", "processor": "MK20DX256",
"bootloader": "kiibohd", "bootloader": "kiibohd",

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -25,7 +25,10 @@
"nkro": true "nkro": true
}, },
"split": { "split": {
"enabled": true "enabled": true,
"serial": {
"driver": "usart"
}
}, },
"community_layouts": [ "community_layouts": [
"split_3x5_2" "split_3x5_2"

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -39,6 +39,9 @@
{"pin_a": "GP16", "pin_b": "GP17"} {"pin_a": "GP16", "pin_b": "GP17"}
] ]
} }
},
"serial": {
"driver": "vendor"
} }
}, },
"processor": "RP2040", "processor": "RP2040",

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -33,6 +33,9 @@
["A0", "A1", "A2", "NO_PIN", "NO_PIN", "NO_PIN"] ["A0", "A1", "A2", "NO_PIN", "NO_PIN", "NO_PIN"]
] ]
} }
},
"serial": {
"driver": "usart"
} }
}, },
"url": "https://github.com/Dwctor/Kaly", "url": "https://github.com/Dwctor/Kaly",

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -21,7 +21,10 @@
"matrix": [0, 1] "matrix": [0, 1]
}, },
"split": { "split": {
"enabled": true "enabled": true,
"serial": {
"driver": "usart"
}
}, },
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -15,6 +15,9 @@
"rows": ["GP2", "GP3", "GP5", "GP8", "GP19"] "rows": ["GP2", "GP3", "GP5", "GP8", "GP19"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync": { "sync": {
"matrix_state": true "matrix_state": true

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -124,6 +124,9 @@
"rows": ["GP24", "GP23", "GP21", "GP3"] "rows": ["GP24", "GP23", "GP21", "GP3"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync_matrix_state": true "sync_matrix_state": true
} }

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -30,6 +30,9 @@
"rows": ["GP22", "GP19", "GP18", "GP17", "GP7"] "rows": ["GP22", "GP19", "GP18", "GP17", "GP7"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync" :{ "sync" :{
"matrix_state": true "matrix_state": true

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -141,6 +141,9 @@
"rows": ["GP26", "GP24", "GP23", "GP21", "GP3"] "rows": ["GP26", "GP24", "GP23", "GP21", "GP3"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync_matrix_state": true "sync_matrix_state": true
} }

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -27,6 +27,9 @@
"rows": ["GP24", "GP17", "GP15", "GP14", "GP12"] "rows": ["GP24", "GP17", "GP15", "GP14", "GP12"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync" :{ "sync" :{
"matrix_state": true "matrix_state": true

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -31,6 +31,9 @@
"rows": ["GP24", "GP17", "GP15", "GP14", "GP12"] "rows": ["GP24", "GP17", "GP15", "GP14", "GP12"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync" :{ "sync" :{
"matrix_state": true "matrix_state": true

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -26,6 +26,9 @@
"rows": ["GP16", "GP19", "GP17", "GP9", "GP8", "GP26"] "rows": ["GP16", "GP19", "GP17", "GP9", "GP8", "GP26"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync": { "sync": {
"matrix_state": true "matrix_state": true

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -26,6 +26,9 @@
"rows": ["GP16", "GP19", "GP17", "GP9", "GP8", "GP26"] "rows": ["GP16", "GP19", "GP17", "GP9", "GP8", "GP26"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync": { "sync": {
"matrix_state": true "matrix_state": true

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -50,6 +50,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync": { "sync": {
"indicators": true, "indicators": true,

View file

@ -1,2 +1 @@
SERIAL_DRIVER = vendor
POINTING_DEVICE_DRIVER = pimoroni_trackball POINTING_DEVICE_DRIVER = pimoroni_trackball

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -53,6 +53,9 @@
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"] "rows": ["B5", "B4", "B3", "A15", "A14", "A13"]
} }
}, },
"serial": {
"driver": "usart"
},
"transport": { "transport": {
"sync" :{ "sync" :{
"matrix_state": true "matrix_state": true

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -130,6 +130,9 @@
"rows": ["GP11", "GP13", "GP12", "GP14"] "rows": ["GP11", "GP13", "GP12", "GP14"]
} }
}, },
"serial": {
"driver": "vendor"
},
"transport": { "transport": {
"sync": { "sync": {
"indicators": true, "indicators": true,

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -69,6 +69,9 @@
"rows": ["B1", "A4", "A5", "A6", "A7"] "rows": ["B1", "A4", "A5", "A6", "A7"]
} }
}, },
"serial": {
"driver": "usart"
},
"transport": { "transport": {
"sync": { "sync": {
"indicators": true, "indicators": true,

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -62,6 +62,9 @@
"rows": ["B1", "A4", "A5", "A6", "A7"] "rows": ["B1", "A4", "A5", "A6", "A7"]
} }
}, },
"serial": {
"driver": "usart"
},
"transport": { "transport": {
"sync": { "sync": {
"indicators": true, "indicators": true,

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -30,7 +30,10 @@
"diode_direction": "ROW2COL", "diode_direction": "ROW2COL",
"split": { "split": {
"enabled": true, "enabled": true,
"soft_serial_pin": "A9" "soft_serial_pin": "A9",
"serial": {
"driver": "usart"
}
}, },
"processor": "STM32F401", "processor": "STM32F401",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",

View file

@ -1 +0,0 @@
SERIAL_DRIVER = usart

View file

@ -40,6 +40,9 @@
"right": { "right": {
"rotary": [] "rotary": []
} }
},
"serial": {
"driver": "vendor"
} }
}, },
"encoder": { "encoder": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -42,6 +42,9 @@
"enabled": true, "enabled": true,
"handedness": { "handedness": {
"pin": "GP18" "pin": "GP18"
},
"serial": {
"driver": "vendor"
} }
}, },
"tags": ["split"], "tags": ["split"],

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -42,6 +42,9 @@
"enabled": true, "enabled": true,
"handedness": { "handedness": {
"pin": "GP18" "pin": "GP18"
},
"serial": {
"driver": "vendor"
} }
}, },
"tags": ["split"], "tags": ["split"],

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -40,6 +40,9 @@
"enabled": true, "enabled": true,
"handedness": { "handedness": {
"pin": "GP18" "pin": "GP18"
},
"serial": {
"driver": "vendor"
} }
}, },
"tags": ["ortho", "split"], "tags": ["ortho", "split"],

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -66,7 +66,10 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"soft_serial_pin": "GP0" "soft_serial_pin": "GP0",
"serial": {
"driver": "vendor"
}
}, },
"url": "https://github.com/dlford/quokka", "url": "https://github.com/dlford/quokka",
"usb": { "usb": {

View file

@ -1 +0,0 @@
SERIAL_DRIVER = vendor

View file

@ -2,6 +2,11 @@
"usb": { "usb": {
"device_version": "1.0.1" "device_version": "1.0.1"
}, },
"split": {
"serial": {
"driver": "usart"
}
},
"ws2812": { "ws2812": {
"pin": "A9" "pin": "A9"
}, },

View file

@ -1,2 +0,0 @@
# specific to using the serial serial driver
SERIAL_DRIVER = usart

View file

@ -122,6 +122,9 @@
"layer_state": true, "layer_state": true,
"matrix_state": true "matrix_state": true
} }
},
"serial": {
"driver": "usart"
} }
}, },
"processor": "STM32F303", "processor": "STM32F303",

Some files were not shown because too many files have changed in this diff Show more