summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomek CEDRO <cederom@tlen.pl>2011-06-16 07:08:14 +0000
committerTomek CEDRO <cederom@tlen.pl>2011-06-16 07:08:14 +0000
commit1574a4f2a11c9169e96acc9c503eaa25e0113d11 (patch)
tree465c4246518b66d65b3e16006a9629f56a4a3da3
parent13be643e17885070eba7fadcf00fc3bd641b626f (diff)
downloadopenocd_libswd-1574a4f2a11c9169e96acc9c503eaa25e0113d11.tar.gz
openocd_libswd-1574a4f2a11c9169e96acc9c503eaa25e0113d11.tar.bz2
openocd_libswd-1574a4f2a11c9169e96acc9c503eaa25e0113d11.tar.xz
openocd_libswd-1574a4f2a11c9169e96acc9c503eaa25e0113d11.zip
OPENOCD: Register bitbang TCL command.
-rw-r--r--src/openocd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openocd.c b/src/openocd.c
index 57676f52..f18c2432 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -31,6 +31,7 @@
#include "openocd.h"
#include <jtag/driver.h>
#include <jtag/jtag.h>
+#include <interface/bitbang.h>
#include <transport/transport.h>
#include <helper/ioutil.h>
#include <helper/util.h>
@@ -47,7 +48,6 @@
#include <strings.h>
#endif
-
#define OPENOCD_VERSION \
"Open On-Chip Debugger " VERSION RELSTR " (" PKGBLDDATE ")"
@@ -275,6 +275,7 @@ struct command_context *setup_command_handler(Jim_Interp *interp)
&log_register_commands,
&transport_register_commands,
&interface_register_commands,
+ &bitbang_register_commands,
&target_register_commands,
&flash_register_commands,
&nand_register_commands,