Detailed description
- No new features.
- The existing problem is slightly redundant message strings across different target drivers.
- The PR partially solves this by chopping up common prefixes and by using %u to substitute numeric values thanks to
tc_printf.
Not tested on affected targets. There might be unintended consequences (blackpill-f4 USBOTG_FS really dislikes quick back-to-back writes to EP OUT FIFO and two tc_printf calls can result in these writes). But firmware size-diff is -72 bytes. I have done similar things before, see #1527.
Your checklist for this pull request
- I've read the Code of Conduct
- I've read the guidelines for contributing to this repository
- It builds for hardware native (see Building the firmware)
- It builds as BMDA (see Building the BMDA)
- I've tested it to the best of my ability
- My commit messages provide a useful short description of what the commits do
Closing issues
## Detailed description
* No new features.
* The existing problem is slightly redundant message strings across different target drivers.
* The PR partially solves this by chopping up common prefixes and by using %u to substitute numeric values thanks to `tc_printf`.
Not tested on affected targets. There might be unintended consequences (blackpill-f4 USBOTG_FS really dislikes quick back-to-back writes to EP OUT FIFO and two tc_printf calls can result in these writes). But firmware size-diff is -72 bytes. I have done similar things before, see #1527.
## 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))
* [ ] 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