summaryrefslogtreecommitdiff
path: root/core/cortex-m0/debug.h
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-02-19 15:02:23 -0800
committerCommit Bot <commit-bot@chromium.org>2021-02-23 21:42:25 +0000
commit6d79f593f5077700dd773bd3b54405d9b9a123db (patch)
tree25ab0a5b059da1638b0f516f07585cca48898329 /core/cortex-m0/debug.h
parenta5a81dca4579961b9d78c7c85442d76b3c87dbbb (diff)
downloadchrome-ec-6d79f593f5077700dd773bd3b54405d9b9a123db.tar.gz
cortex-m/m0: Add Debug Halting Control and Status Register
For Cortex-M0, see "C1.6.3 Debug Halting Control and Status Register, DHCSR" in the ARMv6-M Architecture Reference Manual. For other Cortex-M, see "C1.6.2 Debug Halting Control and Status Register, DHCSR" in the ARMv7-M Architecture Reference Manual or https://developer.arm.com/documentation/ddi0337/e/core-debug/core-debug-registers/debug-halting-control-and-status-register. BRANCH=none BUG=b:180144572 TEST=Using Segger J-Trace Pro with icetower v0.1, verify debugger_is_connected is true when debugger is attached and false otherwise Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I748fc26c0db4351be5a83086fdb843e5651b5425 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2713753 Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'core/cortex-m0/debug.h')
l---------core/cortex-m0/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/cortex-m0/debug.h b/core/cortex-m0/debug.h
new file mode 120000
index 0000000000..d79be16190
--- /dev/null
+++ b/core/cortex-m0/debug.h
@@ -0,0 +1 @@
+../cortex-m/debug.h \ No newline at end of file