cortex_m: allow setting debug ap during create 39/3639/7
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Sun, 13 Nov 2016 12:23:08 +0000 (13:23 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Thu, 8 Dec 2016 12:35:58 +0000 (12:35 +0000)
commit097aa2979e0eefa822d4a16f055dcf9fc31e3dde
tree3772062836e297db415168222baab5d4ad3c6479
parent1d8b6b743416bfda8f82c80aa2278c2d88e2afaa
cortex_m: allow setting debug ap during create

This patch adds a Cortex-M private configuration option
that allows setting the acess point during target
creation. This circumvents situations in hybrid systems
when the correct access point can not be automatically
detected.

Change-Id: If313a5250e6e66509bb9080f3498feab7781dced
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/3639
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
doc/openocd.texi
src/target/arm_adi_v5.c
src/target/arm_adi_v5.h
src/target/cortex_m.c
src/target/cortex_m.h
src/target/target.h