Detailed description
- This is not a new feature.
- The existing problem is BMF logic expecting Winbond SPI Flash chips onboard the probe, which is only true for
native.
- The PR solves it by allowing other Vendor chips in onboard_flash_add().
Tested on BluePill-Plus/STM32F103CB with Macronix MX25L32 SOIC-8 flash chip soldered.
I would prefer refactoring that check to only happen on native, to not have to carry a dictionary of JEDEC IDs in BMF with SPI support.
It shouldn't generally matter here which chip is soldered/picked, as long as it responds to 25-series protocol in SIO mode.
Your checklist for this pull request
Closing issues
## Detailed description
* This is not a new feature.
* The existing problem is BMF logic expecting Winbond SPI Flash chips onboard the probe, which is only true for `native`.
* The PR solves it by allowing other Vendor chips in onboard_flash_add().
Tested on BluePill-Plus/STM32F103CB with Macronix MX25L32 SOIC-8 flash chip soldered.
I would prefer refactoring that check to only happen on `native`, to not have to carry a dictionary of JEDEC IDs in BMF with SPI support.
It shouldn't generally matter here which chip is soldered/picked, as long as it responds to 25-series protocol in SIO mode.
## 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