aboutsummaryrefslogtreecommitdiff
path: root/src/target/dsp563xx_once.h
diff options
context:
space:
mode:
authorBernhard Kiesbauer <bernhard@kiesbauer.com>2013-07-01 21:27:05 +0200
committerSpencer Oliver <spen@spen-soft.co.uk>2013-07-15 10:05:15 +0000
commitbbb0896cffe0f7643e8cc17328a62b54934f2e8b (patch)
treee094790f27b33a45e2a07b1581ed079c738d0aac /src/target/dsp563xx_once.h
parente608ced3300141e564e4880a9ae0d4880baa2f3f (diff)
downloadriscv-openocd-bbb0896cffe0f7643e8cc17328a62b54934f2e8b.zip
riscv-openocd-bbb0896cffe0f7643e8cc17328a62b54934f2e8b.tar.gz
riscv-openocd-bbb0896cffe0f7643e8cc17328a62b54934f2e8b.tar.bz2
dsp563xx: Adding breakpoint/watchpoint support.
Added missing breakpoint/watchpoint implementation to dsp563xx target. Implementation is not yet complete, which means it does not leverage all available features of the once debug interface. This does NOT use the openocd breakpoint/watchpoint command because of the "special" memory address spaces (X/Y/P/L) of the 56k DSP series. Change-Id: I6840a3ff1e6fdebb38ab7758f164886aff773af6 Signed-off-by: Bernhard Kiesbauer <bernhard@kiesbauer.com> Reviewed-on: http://openocd.zylin.com/1468 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/dsp563xx_once.h')
-rw-r--r--src/target/dsp563xx_once.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/target/dsp563xx_once.h b/src/target/dsp563xx_once.h
index dcf3bc0..b0be95b 100644
--- a/src/target/dsp563xx_once.h
+++ b/src/target/dsp563xx_once.h
@@ -23,6 +23,10 @@
#include <jtag/jtag.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define DSP563XX_ONCE_OCR_EX (1<<5)
#define DSP563XX_ONCE_OCR_GO (1<<6)
#define DSP563XX_ONCE_OCR_RW (1<<7)