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