Detailed description
In this PR we correct the STM32U5 handling in stm32l4.c, providing proper Flash support and handling of the option bytes. This PR must be paired with one to the website that documents the non-halting memory I/O behaviour, however that will be done later once the current slew of branches have been worked in to main and the dust settles from the Codeberg move.
Some testing will be needed on STM32L4/L5 parts and the STM32WL and WB stuff just to verify nothing broke horribly with the Flash code changes, but initial testing suggests that nothing did break and Flashing the U5 now works correctly.
Your checklist for this pull request
Closing issues
<!-- Filling this template is mandatory -->
## Detailed description
In this PR we correct the STM32U5 handling in stm32l4.c, providing proper Flash support and handling of the option bytes. This PR must be paired with one to the website that documents the non-halting memory I/O behaviour, however that will be done later once the current slew of branches have been worked in to `main` and the dust settles from the Codeberg move.
Some testing will be needed on STM32L4/L5 parts and the STM32WL and WB stuff just to verify nothing broke horribly with the Flash code changes, but initial testing suggests that nothing did break and Flashing the U5 now works correctly.
## 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). -->