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
This commit is contained in:
Jack Sangdahl 2025-08-10 00:14:40 +02:00 committed by GitHub
parent 6c2e58eb4d
commit 12dc6d1ac8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 20 additions and 361 deletions

View file

@ -477,6 +477,9 @@ def _extract_split_serial(info_data, config_c):
if 'soft_serial_pin' in split:
split['serial'] = split.get('serial', {})
split['serial']['pin'] = split.pop('soft_serial_pin')
if 'soft_serial_speed' in split:
split['serial'] = split.get('serial', {})
split['serial']['speed'] = split.pop('soft_serial_speed')
def _extract_split_transport(info_data, config_c):