]> git.gag.com Git - fw/openocd/commitdiff
cortex_a: use the ap number specified at target create
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 4 Aug 2021 15:50:02 +0000 (17:50 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 22 Aug 2021 20:26:38 +0000 (20:26 +0000)
Current implementation ignores the flag '-ap-num' provided to
command 'target create' and searches for the first AP of APB type.

If specified, use the ap number.

Change-Id: If1ac12345220d14a4a60515efe46dc2a2eac079a
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6413
Tested-by: jenkins

No differences found