mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Implement data driven serial driver (#23923)
This commit is contained in:
parent
9f449246bb
commit
51acd35e6f
|
@ -41,6 +41,7 @@
|
||||||
"RGB_MATRIX_DRIVER": {"info_key": "rgb_matrix.driver"},
|
"RGB_MATRIX_DRIVER": {"info_key": "rgb_matrix.driver"},
|
||||||
"RGBLIGHT_DRIVER": {"info_key": "rgblight.driver"},
|
"RGBLIGHT_DRIVER": {"info_key": "rgblight.driver"},
|
||||||
"SECURE_ENABLE": {"info_key": "secure.enabled", "value_type": "bool"},
|
"SECURE_ENABLE": {"info_key": "secure.enabled", "value_type": "bool"},
|
||||||
|
"SERIAL_DRIVER": {"info_key": "split.serial.driver"},
|
||||||
"SPLIT_KEYBOARD": {"info_key": "split.enabled", "value_type": "bool"},
|
"SPLIT_KEYBOARD": {"info_key": "split.enabled", "value_type": "bool"},
|
||||||
"SPLIT_TRANSPORT": {"info_key": "split.transport.protocol", "to_c": false},
|
"SPLIT_TRANSPORT": {"info_key": "split.transport.protocol", "to_c": false},
|
||||||
"STENO_ENABLE": {"info_key": "stenography.enabled", "value_type": "bool"},
|
"STENO_ENABLE": {"info_key": "stenography.enabled", "value_type": "bool"},
|
||||||
|
|
|
@ -799,6 +799,16 @@
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 5
|
"maximum": 5
|
||||||
},
|
},
|
||||||
|
"serial": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"driver": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["bitbang", "usart", "vendor"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"transport": {
|
"transport": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|
|
@ -732,6 +732,10 @@ Configures the [Split Keyboard](features/split_keyboard) feature.
|
||||||
* `matrix_pins`
|
* `matrix_pins`
|
||||||
* `right`
|
* `right`
|
||||||
* See [Matrix](#matrix) config.
|
* See [Matrix](#matrix) config.
|
||||||
|
* `serial`
|
||||||
|
* `driver`
|
||||||
|
* The driver to use. Must be one of `bitbang`, `usart`, `vendor`.
|
||||||
|
* Default: `"bitbang"`
|
||||||
* `soft_serial_pin`
|
* `soft_serial_pin`
|
||||||
* The GPIO pin to use (`serial` transport protocol only).
|
* The GPIO pin to use (`serial` transport protocol only).
|
||||||
* `soft_serial_speed`
|
* `soft_serial_speed`
|
||||||
|
|
Loading…
Reference in a new issue