diff options
| author | Jack Sangdahl <jack@pngu.org> | 2025-08-10 00:14:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-09 23:14:40 +0100 |
| commit | 12dc6d1ac80b6919fcdb084d897612559b2f391b (patch) | |
| tree | 2f058d0f64a22efe64ee5088215470fee24ae368 /lib/python | |
| 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 'lib/python')
| -rw-r--r-- | lib/python/qmk/info.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index b4fa481b1b..f63228b2bc 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py | |||
| @@ -477,6 +477,9 @@ def _extract_split_serial(info_data, config_c): | |||
| 477 | if 'soft_serial_pin' in split: | 477 | if 'soft_serial_pin' in split: |
| 478 | split['serial'] = split.get('serial', {}) | 478 | split['serial'] = split.get('serial', {}) |
| 479 | split['serial']['pin'] = split.pop('soft_serial_pin') | 479 | split['serial']['pin'] = split.pop('soft_serial_pin') |
| 480 | if 'soft_serial_speed' in split: | ||
| 481 | split['serial'] = split.get('serial', {}) | ||
| 482 | split['serial']['speed'] = split.pop('soft_serial_speed') | ||
| 480 | 483 | ||
| 481 | 484 | ||
| 482 | def _extract_split_transport(info_data, config_c): | 485 | def _extract_split_transport(info_data, config_c): |
