Detailed description
In this PR we address the consistency concern raised in #2197 about the DfuSe interface strings in the bootloader. As the spaces in question are entirely superfluous, this PR removes them and adjusts the offsets for where the bootloader has to insert the Flash sectors counts.
This is tested working with both ST's tooling and dfu-util, both of which correctly (per the spec) search for the first / and treat everything before that and after the start of string @ as a free text descriptive string. This happens to also clean up how the entries appear in their interfaces because of removing all the trailing padding from that display string.
Your checklist for this pull request
Closing issues
<!-- Filling this template is mandatory -->
## Detailed description
In this PR we address the consistency concern raised in #2197 about the DfuSe interface strings in the bootloader. As the spaces in question are entirely superfluous, this PR removes them and adjusts the offsets for where the bootloader has to insert the Flash sectors counts.
This is tested working with both ST's tooling and dfu-util, both of which correctly (per the spec) search for the first `/` and treat everything before that and after the start of string `@` as a free text descriptive string. This happens to also clean up how the entries appear in their interfaces because of removing all the trailing padding from that display string.
## Your checklist for this pull request
* [x] I've read the [Code of Conduct](https://codeberg.org/blackmagic-debug/blackmagic/src/CODE_OF_CONDUCT.md)
* [x] I've read the [guidelines for contributing](https://codeberg.org/blackmagic-debug/blackmagic/src/CONTRIBUTING.md) to this repository
* [x] It builds for hardware native (see [Building the firmware](https://codeberg.org/blackmagic-debug/blackmagic?tab=readme-ov-file#building-the-firmware))
* [x] It builds as BMDA (see [Building the BMDA](https://codeberg.org/blackmagic-debug/blackmagic?tab=readme-ov-file#building-black-magic-debug-app))
* [x] I've tested it to the best of my ability
* [x] My commit messages provide a useful short description of what the commits do
## Closing issues
<!-- put "fixes #XXXX" here to auto-close the issue(s) that your PR fixes (if any). -->