Detailed description
Prior this patch attach to an NRF54L15 would fail the first time but succeed the second time probably because the halt takes a moment to become effective. The cortex-ar target already contained a fix for an presumably similar issue which I've copied into the cortex-m target. The probe will wait at most 250ms for the target to be haltet.
Your checklist for this pull request
Closing issues
Fixes #2155
<!-- Filling this template is mandatory -->
## Detailed description
Prior this patch attach to an **NRF54L15** would fail the first time but succeed the second time probably because the halt takes a moment to become effective. The cortex-ar target already contained a fix for an presumably similar issue which I've copied into the cortex-m target. The probe will wait at most 250ms for the target to be haltet.
## 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
Fixes #2155