From 81294537cd61b0f0fb2c0ae93e4367c049bf497f Mon Sep 17 00:00:00 2001 From: drath Date: Thu, 12 Oct 2006 16:20:47 +0000 Subject: - allow FT2232 devices to be opened by serial number instead of device description ('ft2232_serial ' command) - redirect output from target event scripts (currently only reset) to the daemon output (INFO:) - some minor fixes and enhancements git-svn-id: svn://svn.berlios.de/openocd/trunk@103 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/openocd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/openocd.c') diff --git a/src/openocd.c b/src/openocd.c index 39475b93..4df416e8 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -18,7 +18,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#define OPENOCD_VERSION "Open On-Chip Debugger (2006-09-07 20:00 CEST)" +#define OPENOCD_VERSION "Open On-Chip Debugger (2006-10-12 18:00 CEST)" #ifdef HAVE_CONFIG_H #include "config.h" @@ -93,6 +93,8 @@ int main(int argc, char *argv[]) command_done(cfg_cmd_ctx); + command_set_output_handler(cmd_ctx, configuration_output_handler, NULL); + if (jtag_init(cmd_ctx) != ERROR_OK) return EXIT_FAILURE; DEBUG("jtag init complete"); -- cgit v1.2.3