diff options
| author | Jack Sangdahl | 2025-08-10 00:14:40 +0200 |
|---|---|---|
| committer | GitHub | 2025-08-10 00:14:40 +0200 |
| commit | 12dc6d1ac80b6919fcdb084d897612559b2f391b (patch) | |
| tree | 2f058d0f64a22efe64ee5088215470fee24ae368 /data/schemas/keyboard.jsonschema | |
| parent | 6c2e58eb4d58bc8f2d2c1e20e7fe347a2153db31 (diff) | |
Fix serial speed DD configuration & migrate keyboards (#25546)
* Fix serial speed DD configuration
- Fixes incorrect SOFT_SERIAL_SPEED mapping
- Renames key split.soft_serial_speed -> split.serial.speed
- Migrates keyoards that configure this, and remove configuration from keyboards that do not differ from the default behaviour
- Add deprecation notice and migration support
Diffstat (limited to 'data/schemas/keyboard.jsonschema')
| -rw-r--r-- | data/schemas/keyboard.jsonschema | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index 13ceec5afa..3775b66c1a 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema @@ -864,8 +864,7 @@ }, "soft_serial_speed": { "type": "integer", - "minimum": 0, - "maximum": 5 + "$comment": "Deprecated: use split.serial.speed instead" }, "serial": { "type": "object", @@ -875,7 +874,12 @@ "type": "string", "enum": ["bitbang", "usart", "vendor"] }, - "pin": {"$ref": "./definitions.jsonschema#/mcu_pin"} + "pin": {"$ref": "./definitions.jsonschema#/mcu_pin"}, + "speed": { + "type": "integer", + "minimum": 0, + "maximum": 5 + } } }, "transport": { |